I have a page setup like this:
It shows Area > Year > Month & Day > Pictures
By default, it shows the area. I then link it like this:
If they click on the area link, it gets all the years:PHP Code:<a href=\"{$_SERVER['PHP_SELF']}?area=$whatarea\">{$row['area']}</a>
And then I link it like this:PHP Code:if (isset($_GET['area']))
Then this is where I have a problem. I want to continue with "elseif" but is it possible to have more than one isset?PHP Code:<a href=\"{$_SERVER['PHP_SELF']}?area=$thearea&year=$year\">{$year}</a>
If I do this:
It obviously doesn't work, because in the previous link there's "area" and "year".PHP Code:elseif (isset($_GET['year']))
I could just do "if" for each one, but then all the results would show as the user continues through the page.
So my question is: how do I setup the elseif to accept "area" and "year"?
Thanks.






Bookmarks