Posted by Kimmo Laine on 09/30/01 11:40
"Dawsons" <stuart@3branch.co.uk> wrote in message
news:AahKf.32462$Fy4.29398@newsfe4-win.ntli.net...
> So i sit here thinking, and wondering...
>
> say for example i have a variable called $definition_london
>
> Say for exaple that has not set value...
>
> Is it possible to echoe thew ACTUAL variable name into a document, rather
> than the variables information?
>
> Thanks for yout time, look forward to all replies :)
>
I'm no sure what you are exactly looking for, but you could do something
like this:
echo 'Here is a list of all variables and their values defined in this
script:<br />';
print_r(get_defined_vars());
--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviφ
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)
[Back to original message]
|