> From: Charles Day [mailto:[EMAIL PROTECTED]]
> 
> while (@row = $result->fetchrow_array)
> {
>       $count++;
>     if ($count >= $start and $count <= $finish)
>       {
>               print bla

>       
> From: Bart Lateur [mailto:[EMAIL PROTECTED]]
> 
> Don't forget to "finish", as you will generally not read 
> until the end.

just add the following after that if block in the loop:

last, $result->finish if $count >= $finish;


Cheers,
Douglas Wilson

Reply via email to