note 40614 deleted from language.variables by danbrown

From: Date: Sun, 20 Jul 2008 16:10:06 +0000
Subject: note 40614 deleted from language.variables by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142159@lists.php.net to get a copy of this message
Note Submitter: webmaster at surrealwebs dot com ---- OK how about a practicle use for this: You have a session variable such as: $_SESSION["foo"] = "bar" and you want to reference it to change it alot throughout the program instaed of typing the whole thing over and over just type this: $sess =& $_SESSION $sess['foo'] = bar; echo $sess['foo'] // returns bar echo $_SESSION["foo"] // also returns bar just saves alot of time in the long run also try $get = $HTTP_GET_VARS or $post = $HTTP_POST_VARS

« previous php.notes (#142159) next »