Re: $_POST vs $_REQUEST
| From: | Rene Veerman | Date: | Mon, 22 Feb 2010 21:01:53 +0000 |
| Subject: | Re: $_POST vs $_REQUEST | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302263@lists.php.net to get a copy of this message | ||
> i'd expect without quotes to query a define('j_orderValue','??')..
oh, and that, if not defined, defaults to the string 'j_orderValue'.
So while your $_POST[] with or without quotes will "do the same", use
single-quotes anyway because it's "the right thing to do" ;)