>I don't think PHP will understand commas as command separators.
>
>Perhaps what you could try is a simple loop 0 to 6 and for each iteration
>of the loop, unset the corresponding array element
>
>for($i=0; $i <= 6; $i++) {
> unset($array[$i];
> }
this actually worked... thanks for the hint:
>I don't think PHP will understand commas as command separators.
>
>Perhaps what you could try is a simple loop 0 to 6 and for each iteration
>of the loop, unset the corresponding array element
>
>for($i=0; $i <= 6; $i++) {
> unset($array[$i];
> }
I got it working, and YES... PHP did understan
On Mon, 26 Mar 2001 08:25, Christian Dechery wrote:
> Regarding my last email (about jumping the first 7 rows of an array)...
>
> why does this code doesnt work?
>
> for(reset($array),$count=0;$count<6;next($array),$count++);
>
> . Christian Dechery (lemming)
> . http:
3 matches
Mail list logo