Re: while loop

From: Date: Tue, 10 Apr 2001 06:05:07 +0000
Subject: Re: while loop
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-47955@lists.php.net to get a copy of this message
Hi Jacky, @ 1:58:40 PM on 4/10/2001, Jacky@lilst wrote: > Here I got this script: > $queryoffers = "SELECT * FROM MiniOffers WHERE hotel_id = '$hotelID' > ORDER BY start_date ASC"; > $resultofrs = mysql_query($queryoffers, $connection) or die(mysql_error()); > while($row = mysql_fetch_array($resultofrs)) Are you missing the opening curly brace in the actual code? > $IsAva = $row[6]; > } ... -Brian -- PGP is spoken here: 0xE4D0C7C8 Please do not carbon copy me on list replies.

« previous php.general (#47955) next »