At the moment, my website is very basic and outputs the following on the page localhost/product-catalogue.php:
echo "<font color=\"white\"><u>$productName</u></b><br><br>$productLine<br><br></font>";
echo "<img alt=\"product image\" width=\"250\" height=\"265\" src=\"images/".$image." \"/>";
echo "<font color=\"white\"></br><u>Product Description</u><br><br>$productDescription<br><br>£$sellPrice<hr color='gray' width='35%'></hr><br></font>";
I want to be able to click the image that is displayed, and then this will take you to localhost/product-catalogue.php?(productCode), so that I can add these products to a basket.
Could someone please explain how I would do this, as i have tried and been unsuccessful.
Thankyou.