note 23117 added to language.variables.external

From: Date: Tue, 09 Jul 2002 21:55:22 +0000
Subject: note 23117 added to language.variables.external
Groups: php.notes 
Request: Send a blank email to php-notes+get-32820@lists.php.net to get a copy of this message
When accessing variables from a post, do NOT put $_POST['fieldname'] in double quotes or you will get an error message. e.g. the following works fine: $msg = "The message is:\t" . $_POST['message'] . "\n"; but the following will cause errors: $msg = "The message is:\t$_POST['message']\n"; -- http://www.php.net/manual/en/language.variables.external.php http://master.php.net/manage/user-notes.php?action=edit+23117 http://master.php.net/manage/user-notes.php?action=delete+23117 http://master.php.net/manage/user-notes.php?action=reject+23117

« previous php.notes (#32820) next »