Re: How to Request?
| From: | Pavel Jartsev | Date: | Tue, 06 Apr 2004 07:27:11 +0000 |
| Subject: | Re: How to Request? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182445@lists.php.net to get a copy of this message | ||
Labunski wrote:
... 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']); }if ( isset( $_REQUEST['fd'] ) && isset( $_REQUEST['c'] )) { $vehicle = $_REQUEST['fd']; $color = $_REQUEST['c']; } Hope that helps. -- Pavel a.k.a. Papi