Re: [PHP] Name of variable to string

2008-02-08 Thread Daniel Brown
On Feb 8, 2008 10:25 AM, Jason Pruim [EMAIL PROTECTED] wrote: On Feb 8, 2008, at 10:14 AM, tedd wrote: Hi gang: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? Hey tedd, What is the end result you want? for debugging and checking variable

Re: [PHP] Name of variable to string

2008-02-08 Thread Eric Butera
On Feb 8, 2008 10:14 AM, tedd [EMAIL PROTECTED] 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

Re: [PHP] Name of variable to string

2008-02-08 Thread Adrian Bruce
tedd wrote: Hi gang: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? Cheers, tedd At some point or the other you will have to define $this_variable as $this_variable, so at that point you will have access to the string 'this_variable'. Even if

Re: [PHP] Name of variable to string

2008-02-08 Thread Jason Pruim
On Feb 8, 2008, at 10:14 AM, tedd wrote: Hi gang: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? Hey tedd, What is the end result you want? for debugging and checking variable contents, I've simply: echo this_variable = $this_variable; But

Re: [PHP] Name of variable to string

2008-02-08 Thread David Giragosian
On 2/8/08, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, February 8, 2008 9:14 am, tedd wrote: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? You don't... Consider this: function foo($bar){ //what would your function output? } $baz = 3;

Re: [PHP] Name of variable to string

2008-02-08 Thread David Giragosian
On 2/8/08, Eric Butera [EMAIL PROTECTED] wrote: On Feb 8, 2008 1:53 PM, David Giragosian [EMAIL PROTECTED] wrote: On 2/8/08, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, February 8, 2008 9:14 am, tedd wrote: From a variable with the name of $this_variable -- how do I get a

Re: [PHP] Name of variable to string

2008-02-08 Thread Jason Pruim
On Feb 8, 2008, at 2:41 PM, Paul Scott wrote: On Fri, 2008-02-08 at 14:37 -0500, Daniel Brown wrote: On Feb 8, 2008 2:18 PM, Eric Butera [EMAIL PROTECTED] wrote: And look who chimes in with some helpful advice! ;-P lol (now isn't that even more useless?) Not worse then this... :)

Re: [PHP] Name of variable to string

2008-02-08 Thread Paul Scott
On Fri, 2008-02-08 at 14:37 -0500, Daniel Brown wrote: On Feb 8, 2008 2:18 PM, Eric Butera [EMAIL PROTECTED] wrote: And look who chimes in with some helpful advice! ;-P lol (now isn't that even more useless?) --Paul All Email originating from UWC is covered by disclaimer

Re: [PHP] Name of variable to string

2008-02-08 Thread Daniel Brown
On Feb 8, 2008 2:45 PM, David Giragosian [EMAIL PROTECTED] wrote: On 2/8/08, Eric Butera [EMAIL PROTECTED] wrote: Did you see the function that I published in this thread this morning? I'm nearly positive that's what he's looking for, and it worked for me. -- /Dan Daniel P. Brown Senior

Re: [PHP] Name of variable to string

2008-02-08 Thread Daniel Brown
On Feb 8, 2008 2:18 PM, Eric Butera [EMAIL PROTECTED] wrote: That is ridiculous. And look who chimes in with some helpful advice! ;-P -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Name of variable to string

2008-02-08 Thread Eric Butera
On Feb 8, 2008 1:53 PM, David Giragosian [EMAIL PROTECTED] wrote: On 2/8/08, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, February 8, 2008 9:14 am, tedd wrote: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? You don't... Consider

[PHP] Name of variable to string

2008-02-08 Thread tedd
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:

Re: [PHP] Name of variable to string [SOLVED]

2008-02-08 Thread Daniel Brown
On Feb 8, 2008 4:17 PM, tedd [EMAIL PROTECTED] wrote: At 10:31 AM -0500 2/8/08, Daniel Brown wrote: On Feb 8, 2008, at 10:14 AM, tedd wrote: Hi gang: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? What Tedd means is this:

Re: [PHP] Name of variable to string

2008-02-08 Thread Daniel Brown
On Feb 8, 2008 2:41 PM, Paul Scott [EMAIL PROTECTED] wrote: On Fri, 2008-02-08 at 14:37 -0500, Daniel Brown wrote: On Feb 8, 2008 2:18 PM, Eric Butera [EMAIL PROTECTED] wrote: And look who chimes in with some helpful advice! ;-P lol (now isn't that even more useless?) That's

Re: [PHP] Name of variable to string [SOLVED]

2008-02-08 Thread tedd
At 4:56 PM -0500 2/8/08, Robert Cummings wrote: On Fri, 2008-02-08 at 16:51 -0500, tedd wrote: At 10:42 PM +0100 2/8/08, Jochem Maas wrote: $post_var = @sessionize_post('post_var'); so why exactly is that not an option (or good idea)? It IS an option -- and that's what I was doing

Re: [PHP] Name of variable to string [SOLVED]

2008-02-08 Thread Jim Lucas
tedd wrote: At 10:31 AM -0500 2/8/08, Daniel Brown wrote: On Feb 8, 2008, at 10:14 AM, tedd wrote: Hi gang: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? What Tedd means is this: ;-P BINGO! We have a winner! For those of you

Re: [PHP] Name of variable to string

2008-02-08 Thread Richard Lynch
On Fri, February 8, 2008 9:14 am, tedd wrote: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? You don't... Consider this: function foo($bar){ //what would your function output? } $baz = 3; foo($baz); -- Some people have a gift link here. Know

Re: [PHP] Name of variable to string [SOLVED]

2008-02-08 Thread tedd
At 1:39 PM -0800 2/8/08, Jim Lucas wrote: So, how is this any better then just doing this $_SESSION = array_merge(array_merge($_SESSION, $_POST), $_GET); If I replace the two calls to sessionize_*() with the above line, I get the same results. Not sure what I am missing. First, I didn't

Re: [PHP] Name of variable to string [SOLVED]

2008-02-08 Thread Robert Cummings
On Fri, 2008-02-08 at 16:51 -0500, tedd wrote: At 10:42 PM +0100 2/8/08, Jochem Maas wrote: $post_var = @sessionize_post('post_var'); so why exactly is that not an option (or good idea)? It IS an option -- and that's what I was doing (except for the suppress error) via this:

Re: [PHP] Name of variable to string [SOLVED]

2008-02-08 Thread tedd
At 10:31 AM -0500 2/8/08, Daniel Brown wrote: On Feb 8, 2008, at 10:14 AM, tedd wrote: Hi gang: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? What Tedd means is this: ;-P BINGO! We have a winner! For those of you who want to

Re: [PHP] Name of variable to string [SOLVED]

2008-02-08 Thread Jochem Maas
Daniel Brown schreef: On Feb 8, 2008 4:17 PM, tedd [EMAIL PROTECTED] wrote: At 10:31 AM -0500 2/8/08, Daniel Brown wrote: On Feb 8, 2008, at 10:14 AM, tedd wrote: Hi gang: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? What Tedd

Re: [PHP] Name of variable to string [SOLVED]

2008-02-08 Thread tedd
At 10:42 PM +0100 2/8/08, Jochem Maas wrote: $post_var = @sessionize_post('post_var'); so why exactly is that not an option (or good idea)? It IS an option -- and that's what I was doing (except for the suppress error) via this: $post_var = sessionize_post('post_var'); I just wanted to