note 36104 added to language.variables.external

From: Date: Thu, 25 Sep 2003 19:49:07 +0000
Subject: note 36104 added to language.variables.external
Groups: php.notes 
Request: Send a blank email to php-notes+get-57136@lists.php.net to get a copy of this message
Easy way to set variable with the same name as in the form or set default value if empty $x = 'variable'; if (!($$x = $_GET[$x])) $$x = 'default'; or $x = 'variable'; $$x = (($_GET[$x]) ? $_GET[$x] : 'default'); ---- Manual Page -- http://www.php.net/manual/en/language.variables.external.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36104 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36104&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36104&report=yes

« previous php.notes (#57136) next »