$_POST vs $_REQUEST

From: Date: Mon, 22 Feb 2010 20:39:16 +0000
Subject: $_POST vs $_REQUEST
Groups: php.general 
Request: Send a blank email to php-general+get-302257@lists.php.net to get a copy of this message
Hi All, I have Forms that I submit for processing. I have seen examples of people using either $_POST or $_REQUEST. When would I choose one over the other? Also, I see examples of these being used with and without the single quotes Like: $_POST[j_orderValue] or $_POST['j_orderValue'] Single quotes is best, correct to prevent sql injection? -ML

« previous php.general (#302257) next »