What's wrong with this code?  I keep getting a parse
error at the form/select lines...

$array = mysql_fetch_array($mysql_result) or die("no
go");

print ("<form>");
print ("<select>");
while ($array[1] => $array[0]) {
print ("<option value=\"$array[0]\
">$array[1]</option>\n");
}
print ("</select>");
print ("</form>");
?>

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to