--- Labunski <[EMAIL PROTECTED]> 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']);
> }

You answer your own question immediately after you ask it.

Wrong: $_REQUEST['fd','c']

Right: $_REQUEST['fd']
       $_REQUEST['c']

Hope that helps.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming Fall 2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/

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

Reply via email to