At 4:12 PM +0200 9/18/01, _lallous wrote:
>reset($array);
>list(, $value) = each($array);
>this will give you first value in $value
...and according to
http://www.php.net/manual/en/function.reset.php
reset() returns the first element of the array, so you could shorten this to
reset($array);
list(, $value) = each($array);
this will give you first value in $value
"Brandon Orther" <[EMAIL PROTECTED]> wrote in message
!~[EMAIL PROTECTED]">news:!~[EMAIL PROTECTED]...
> Hello,
>
> I have an array sent to my script that starts at different numbers each
> time. Here is an ex
2 matches
Mail list logo