same way, if i understand your questoin... 
if your url looks like this

sometestpage.php?mov=something&year=1999
 - the queries are seperated by the '&' char..

then 

$_REQUEST will have both mov and year elements in it
so just as $_REQUEST['mov'] worked, so would $_REQUEST['year']

Jason


Dustin Krysak <[EMAIL PROTECTED]> wrote: 
> 
> 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

Reply via email to