Re: How to get the key of a specific index of array?

From: Date: Tue, 18 Nov 2003 13:24:04 +0000
Subject: Re: How to get the key of a specific index of array?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170092@lists.php.net to get a copy of this message
PhiSYS wrote:
How to get the key of a specific index of array? It seems that key($_POST[$i]) is a wrong syntax.
$i is the key, key is the index. I think you are overcomplicating it. Tell us what you want to achieve and someone might come out with a better solution. Marek

« previous php.general (#170092) next »