Sorry if this is wordy, but I want to make sure I'm not leaving anything out...
I'm working on modifying a page that stores info about which photo to display in several arrays (photo filename, thumbnail filename, title, description etc). I wanted to change it so that someone could bookmark a specific spot in the arrays, for example by using photos.php?photo=12.
If someone goes to photos.php?photo=12, it shows only that photo, but if the user goes to photos.php it falls through to displaying thumbnails of all the images.
The issue I'm running into is if the link is photos.php?photo=0 and then I use my if statement to check if($_GET['photo']), it obviously evaluates to false, and falls through to the thumbnails.
Anyone have some advice on a better way to do this (preferably without having to change the existing arrays)?
Thanks!