Re: array_shift

From: Date: Wed, 18 Jun 2003 15:57:09 +0000
Subject: Re: array_shift
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-152017@lists.php.net to get a copy of this message
never mind I found the answer, use key(arrayname) to get the key and next(arrayname) to move to next element without reseting the keys. "Diana Castillo" <diana@interhotel.com> wrote in message news:20030618115203.53889.qmail@pb1.pair.com... > how can I do an array shift without reseting the keys? > how can I get the key of the first element removed with an array _shift? > thanks. > >

« previous php.general (#152017) next »