note 4742 deleted from Variable variables by ronabop
| From: | ronabop@php.net | Date: | Sat, 19 Aug 2000 03:28:46 +0000 |
| Subject: | note 4742 deleted from Variable variables by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-2599@lists.php.net to get a copy of this message | ||
In PHP b4 the below 3 lines dont seem to work:
<pre>$ourvarname='ourtest message';
$inputname='ourvarname';
echo $($inputname);</pre>
But the below corrects the issue: <pre>
$ourvarname='ourtest message';
$inputname='ourvarname';
echo $$inputname;
</pre>