Re: How to limit a WHILE statement?

From: Date: Tue, 03 Apr 2001 00:00:54 +0000
Subject: Re: How to limit a WHILE statement?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-46713@lists.php.net to get a copy of this message
$count = 0; while (($myrow = mysql_fetch_array($result))&&($count<20)) { do stuff $count++; } Sig for a Day Stephan Ahonen, ICQ 491101 "That's very funny Scotty, now beam down my clothes!" Come back tomorrow for a different sig! Backspace a single "s" to reply by email

« previous php.general (#46713) next »