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 understand the
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:
pre
Regarding my last email (about jumping the first 7 rows of an array)...
why does this code doesnt work?
for(reset($array),$count=0;$count6;next($array),$count++);
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
PHP
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;$count6;next($array),$count++);
. Christian Dechery (lemming)
.
4 matches
Mail list logo