Hello Leon,

try array_shift

http://www.php.net/manual/en/function.array-shift.php

Hope this helps,

Andy

--
----------------------------------------------------
http://www.globosapiens.net
Global Travellers Network!



"Leon Mergen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]...
> Hello,
>
> I would like to know what the best (and fastest) way to remove the first
> element of an array is?
>
> So actually, I want $array[0] removed, and $array[1] to become 0,
$array[2]
> to become 1, etc etc...
>
>



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

Reply via email to