identifying one page from an associated ID
Hey Jason
Sorry, dont know how to describe this terribly well but here goes.
Have got a db with a product_contents and gallery tables
The product_contents table allows the client to add/remove product and also allows them to select if there is a gallery associated with each of the products entered.
There is a product_contents_results page which, when the client clicks on a link, takes them to gallery_results page passing gallery_results.php?ID=gallery_<?php echo($row_WADAproduct_contents['ProductContentsID']); ?> to identify which product is associated with which gallery
All that works fine but what I am struggling to do is show the ProductName in the <h1> that is associated with the gallery (GalleryID) and product_contents (ProductContentsID)
Hope thst this makes sense but have added the 2 pages here if that helps make it a bit clearer!
Cheers
Jamie