HOW CAN I PASS THE PRODUCT ID FROM PRODUCT VIEW PAGE TO NEW PAGE WHICH IS OPEN BY ONCLICK EVENT
Use
1)$query "Select *form table name " 2)$run=mysqli_query($connection,$query )
3)use while($row=mysqli_fetch_array($run))
4)get the product id using $product_id=$row['product_id'];
5)Now use the $product_id to pass value of product id