Re: a for-loop syntax question
| From: | HKG) | Date: | Mon, 12 Jan 2004 15:18:15 +0000 |
| Subject: | Re: a for-loop syntax question | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22565@lists.php.net to get a copy of this message | ||
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?