For the products detail page I have created a page that is filtered by the product ID, the parameter is as follows Product-Details.php?ProductID= , however when I change the product ID, the result that is returned does not show the product according to its ID it just shows the product with the ID of 1. How can I correct this.
Also, on my main products page which filters the products according to the category ID. I have added the following link to the product name recordset :
Product-Details.php?ProductID=<?php echo $row_rsProductDetails['ProductID']; ?>
this adds the link like the parameter shown above however the link only goes to the product ID of 1. If there is a product shown which has an ID of 2 it should go to the product details page but show the details of product ID 2 but it doesn't. How can I sort this out ? Please be as detailed as possible.