note 58305 deleted from language.variables by mazzanet
| From: | mazzanet@php.net | Date: | Mon, 31 Oct 2005 08:50:52 +0000 |
| Subject: | note 58305 deleted from language.variables by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-97865@lists.php.net to get a copy of this message | ||
Note Submitter: Blank23 at web dot de
----
A very very useful trick, which i use very often and i not see here is this:
$test = "blabla";
$$test = "hello";
The input from $test is now the name from the following variable.
echo $blabla; // will output "hello" !
This trick is very useful for Loops, Objects, methods etc. :)