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

2004-12-09 Thread Edward Dias
Hi, I would like insert into a dropdown box values from my mysql database column Using the sample below I'm getting this error (Parse error: parse error, unexpected) on this line (while($row=mysql_fetch_array($result)({ ) But I'm not able to identify the problem, Any help is greatly

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

2004-12-09 Thread Norland, Martin
-Original Message- From: Edward Dias [mailto:[EMAIL PROTECTED] 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

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

2004-12-09 Thread dpgirago
It looks like the parenthesis on the line with the 'while' loop is an opening parenthesis instead of a closing parenthesis. while($row=mysql_fetch_array($result)({ ^ dave