Purpose of $$var ?????
| From: | Scott Fletcher | Date: | Tue, 16 Jul 2002 13:53:32 +0000 |
| Subject: | Purpose of $$var ????? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107862@lists.php.net to get a copy of this message | ||
The script was working great before PHP 4.2.x and not after that. So, I
looked through the code and came upon this variable, "$$var". I have no
idea what the purpose of the double "$" is for a variable. Anyone know?
--clip--
$var = "v".$counter."_high_indiv";
$val3 = $$var;
--clip
Thanks,
FletchSOD