[nycphp-talk] Output name of Variable
Jon Baer
jonbaer at jonbaer.net
Fri Jan 31 13:18:39 EST 2003
The name of the variable is what value you initially gave it ...
Example:
$var = "Hello";
$$var = "World";
echo "Hello $$var"; // produces $Hello
- Jon
----- Original Message -----
From: "Jim Musil" <jim at nettmedia.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Friday, January 31, 2003 1:06 PM
Subject: Re: [nycphp-talk] Output name of Variable
>
> Right. But I want it to output the NAME of the variable, not the VALUE...
>
More information about the talk
mailing list