Is there some special meaning if a variable is designated as $$variable (as opposed to $variable), or is this simply a typo in a script I found on the web.
dmorison
5:44 pm on Oct 11, 2007 (gmt 0)
It is valid PHP, and means "the variable of the name in the variable". So, if you went:
$foo = "bar"; $$foo = "Hello!"; print $bar;
You would see "Hello!" displayed.
eelixduppy
5:44 pm on Oct 11, 2007 (gmt 0)
Seems like you have run into some variable variables [us2.php.net]. Although they can be extremely useful, they look pretty intense at first.