note 70855 deleted from language.variables.variable by danbrown

From: Date: Wed, 24 Jun 2009 16:52:16 +0000
Subject: note 70855 deleted from language.variables.variable by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157392@lists.php.net to get a copy of this message
Note Submitter: mikeq ---- Regarding the last post about accessing an array key within a variable variable. The answer is at the bottom of the original help text. In your example you would do print ${$superGlobal}['Name']; This would get you the value from the $_POST array without the need to define another local variable.

« previous php.notes (#157392) next »