Re: Name of variable to string
| From: | Eric Butera | Date: | Fri, 08 Feb 2008 15:21:53 +0000 |
| Subject: | Re: Name of variable to string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268942@lists.php.net to get a copy of this message | ||
On Feb 8, 2008 10:14 AM, tedd <tedd@sperling.com> wrote:
> Hi gang:
>
> From a variable with the name of $this_variable -- how do I get a
> string 'this_variable' ?
>
> Cheers,
>
> tedd
> --
> -------
> http://sperling.com
> http://ancientstones.com
> http://earthstones.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
There really isn't a way to do this. Maybe you could do some
get_defined_vars hackery, but that really isn't practical.