I could have sworn that there was a function that dropped ALL GET values into an associative array. Kind of the inverse of "http_build_query".
At any rate, you can keep doing (isset($_REQUEST['mov']) AND isset($_REQUEST['year'])) and such. Is that your question? How do you do AND and OR operations? -TG > -----Original Message----- > From: Dustin Krysak [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 15, 2004 7:33 PM > To: PHP > Subject: [PHP] checking multiple URL parameters > > > Hi there, I am currently using the following code to display content > based on the URL parameters.... > > <?php > if (isset($_REQUEST['mov'])) { > $movie = ($_REQUEST['mov']) > ?> > HTML CONTENT > <?php > } > > else { > ?> > OTHER HTML CONTENT > <?php > } > > ?> > > now what I need to do is modify the code so that the script checks 2 > URL parameters, and has 2 variables defined (from the URL > parameter)... > > So I need to also check if $_REQUEST['year'] is set as well as the > original (both need to be set to get the first HTML content) > AND I also > need to set the variable of $year = ($_REQUEST['year'] > > direction? > > d > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

