Re: [PHP] array variable name
Dnia czwartek 14 luty 2002 21:14, Rick Emery napisa: How can I get the name of array variable into str? what are your trying to do with it?? This: function show_arr($array) //wyswietla wartosci z tablicy wraz z kluczami (przeznaczone do debugowania) { if(DABUG) { echo b---/bbr; echo Array contentsb.strval($array)./bbr; while(list($k,$v)=each($array)) { echo $k = $vbr; } echo b---/b; } } quite useful when making big project with lots of array and debuging -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] array variable name
How can I get the name of array variable into str? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] array variable name
what are your trying to do with it?? -Original Message- From: Tomek Golembiewski [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 8:20 AM To: [EMAIL PROTECTED] Subject: [PHP] array variable name How can I get the name of array variable into str? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] array variable name
I think you are looking for the function called array_key() http://www.php.net/manual/en/function.array-keys.php Jim Lucas - Original Message - From: Tomek Golembiewski [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 14, 2002 6:20 AM Subject: [PHP] array variable name How can I get the name of array variable into str? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php