note 26767 added to function.eval
| From: | noone at mrno1 dot com | Date: | Tue, 12 Nov 2002 08:37:33 +0000 |
| Subject: | note 26767 added to function.eval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39366@lists.php.net to get a copy of this message | ||
here you get a value by a variable name. (with the double $ )
usefull when you want to reduce or to encode the postdata from a file to another.
<?
$wm = "welcome in a beautyfull world !";
$mystring = "wm";
echo $$mystring;
?>
this may have nothing to do with eval, but that's what i was searching here. Think i'm not
the only.
--
http://www.php.net/manual/en/function.eval.php
http://master.php.net/manage/user-notes.php?action=edit+26767
http://master.php.net/manage/user-notes.php?action=delete+26767
http://master.php.net/manage/user-notes.php?action=reject+26767