Hi,

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,
Thanks

echo "<a href= 'details.html?ProductID=".$Row['ProductID']."'> details </a>";

You are a superstar, thank you! :)

If this thread is solved,please press the link under the reply box :)