worked like a charm! =) don't think it'll tell you much, but this is the acctual code i'm using now: for ($j = 1; $j < 10 && $num_rows > 0; $num_rows -= MAXSHOWN, $j++) {} .bobo ----- Original Message ----- From: "Svensson, B.A.T. (HKG)" <B.A.T.Svensson@lumc.nl> To: "Bobo Wieland" <bobo.wieland@ektv.nu> Cc: <php-windows@lists.php.net> Sent: Monday, January 12, 2004 4:08 PM Subject: Re: a for-loop syntax question > In C/C++ you can so I just assumed it would also be possible in php . > > Try on your own risk. :) > > On Mon, 2004-01-12 at 15:26, Bobo Wieland wrote: > > thank you! > > > > You learn something new everyday... Didn't think you could use expressions > > like that in a for-loop... > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php