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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to