Re: [PHP] array variable name

2002-02-15 Thread Tomek Golembiewski

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

2002-02-14 Thread Tomek Golembiewski

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

2002-02-14 Thread Rick Emery

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

2002-02-14 Thread Jim Lucas [php]

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