RE: Insert db values into dropdown box error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Edward Dias [mailto:edias@xxxxxxxxxxxxxx] 
> 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.
-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux