javascript - Send product id to product display page from a list view in php -


enter image description herei developing classified site college project in php. problem is, can show products list view in search page. want display product details in different page when product clicked.

so want pass product id parameter in next page. there read more link in each product in list. no i've done

<a href="#" onclick="myfunc('<?php echo $product_id; ?>')">read more</a> in script i've written  function send_vendor_id(parameter)              {                 window.location = "?index="+parameter;             } 

now works fine. problem , in next page, parameter showing. now want hide that. please suggest me how hide , tell me if displaying particular product list view can done in better way


Comments