Re: a for-loop syntax question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-01-12 at 16:12, Bobo Wieland wrote:
> worked like a charm! =)
> 
> don't think it'll tell you much, but this is the actual code i'm using now:
> 
> for ($j = 1; $j < 10 && $num_rows > 0; $num_rows -= MAXSHOWN, $j++) {}


The syntax is quite clear to me, but what about this break condition
with $j == 5 then?

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux