Hi I’m trying to pass two variables via a url which I can acheive, but I’m having trouble extracting the information when the page refreshes.
This is the code I’ve used to pass the variables:-
[php]
<?php while ($row = mysql_fetch_assoc($result1)) { ?> <?php } ?>[/php]
I’m able to acheive the my objective when one variable is passed using the following code:-
[php]
if (array_key_exists(‘gallery_id’, $_GET)) {
$gallery_id = $_GET[‘gallery_id’];
[/php]
My question is, how do I do this with two (or more) variables? I need to extract ‘year_id’ as well.
Thanks