In the galleries page, I have the following -
Code: Select all
<td><div align="center"><a href="showGallery.php?<?PHP echo(session_id()) ?>"><img name="igallery1" src="images/Gallery/image.jpg" width="164" height="116" alt="Birds of Prey" border=0></div></a><br><CENTER> gallery 1</CENTER></td>
which passes the session ID from Galleries to showGallery.php. My question is, since the thumbnail is the link to the next page (i.e. showGallery), how can I specify which gallery was clicked? I can't specify it as a session variable, because as is, the script leaves the galleries.php page before I run any sort of check. I know it must be obvious, but I'm drawing a blank. Can anyone tell me a solution to this problem?