checking multiple URL parameters

From: Date: Wed, 15 Sep 2004 23:33:11 +0000
Subject: checking multiple URL parameters
Groups: php.general 
Request: Send a blank email to php-general+get-196801@lists.php.net to get a copy of this message
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

« previous php.general (#196801) next »