note 107431 added to language.variables.external

From: Date: Wed, 08 Feb 2012 21:11:46 +0000
Subject: note 107431 added to language.variables.external
Groups: php.notes 
Request: Send a blank email to php-notes+get-185926@lists.php.net to get a copy of this message
Correction to [steiner277 at charter dot net 09-Jul-2002 05:55] who warns to NOT put $_POST['fieldname'] in double quotes or you will get an error message (e.g. $msg = "The message is:\t$_POST['message']\n";). Not true -- simply use curly braces around the variable: $msg = "The message is:\t{$_POST['message']}\n"; ---- Server IP: 69.147.83.197 Probable Submitter: 72.219.151.91 ---- Manual Page -- http://www.php.net/manual/en/language.variables.external.php Edit -- https://master.php.net/note/edit/107431 Del: integrated -- https://master.php.net/note/delete/107431/integrated Del: useless -- https://master.php.net/note/delete/107431/useless Del: bad code -- https://master.php.net/note/delete/107431/bad+code Del: spam -- https://master.php.net/note/delete/107431/spam Del: non-english -- https://master.php.net/note/delete/107431/non-english Del: in docs -- https://master.php.net/note/delete/107431/in+docs Del: other reasons-- https://master.php.net/note/delete/107431 Reject -- https://master.php.net/note/reject/107431 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#185926) next »