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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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.
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to