RE: [PHP-DB] Insert db values into dropdown box error

From: Date: Thu, 09 Dec 2004 19:56:52 +0000
Subject: RE: [PHP-DB] Insert db values into dropdown box error
Groups: php.db 
Request: Send a blank email to php-db+get-37653@lists.php.net to get a copy of this message
> -----Original Message----- > From: Edward Dias [mailto:edias@paymentone.com] > while($row=mysql_fetch_array($result)({ > echo "<option value=\"$row[project_number]\">$row[project_number]</option>\n"; > } You have a backwards parenthesis. Try: while($row=mysql_fetch_array($result)) { Cheers, - Martin Norland, Database / Web Developer, International Outreach x3257 The opinion(s) contained within this email do not necessarily represent those of St. Jude Children's Research Hospital.

« previous php.db (#37653) next »