Re: while loop

From: Date: Tue, 10 Apr 2001 05:46:49 +0000
Subject: Re: while loop
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47947@lists.php.net to get a copy of this message
> $query = mysql_query("some SQL here"); > while ($row = mysql_fetch_array($query)) { > do stuff; > } Isn't this suppose to be an infinite loop? while ($row is assigned to mysql_fetch_array($query)) { do stuffs; } someone correct me if I'm wrong? Zeus

« previous php.general (#47947) next »