How to Request?
| From: | Labunski | Date: | Tue, 06 Apr 2004 06:57:28 +0000 |
| Subject: | How to Request? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182442@lists.php.net to get a copy of this message | ||
I'll try to explain..
For example I have a link: "index.php?fd=car"
then the Request part looks like this:
if(isset($_REQUEST['fd'])){
$dir = ($_REQUEST['fd']);
}
But for example I have a link "index.php?fd=car&c=green"..
How to Request more then one variable if I want to get something like this:
if(isset($_REQUEST['fd','c'])){ // incorrect form. How to write this
correctly?
$vehicle = ($_REQUEST['fd']);
$color = ($_REQUEST['c']);
}