I am working on a gallery feature for my website.

Currently I have the images displaying using a mysql query which returns the images and a product description for each image. I would like to add to the gallery by having a clickable link under each picture which will take me to a details.html page where more information is available about the product and it can be added to a shopping cart. At the moment when the image itself is clicked on, it displays a zoom image using lightbox, which is fine.

the bit of code I'm trying to add in:
[ echo "<a href= 'details.html?ProductID={$Row['ProductID']}'> details </a>";]

so this will have a clickable "details" under each picture which will take you to the details page for the product based on the ProductId.

I'm getting a parse error but I can't see why... I'd really appreciate any help,

7 Years
Discussion Span
Last Post by Sorcher
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.