Re: drop down list not populating

From: Date: Tue, 27 Jan 2004 20:15:51 +0000
Subject: Re: drop down list not populating
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-175973@lists.php.net to get a copy of this message
John W. Holmes wrote: <snip>
echo "<OPTION VALUE=".$row['community']."</OPTION>";
If you view the HTML source of the page, do you see a bunch of empty <option> elements? If so, then $row['community'] isn't valid. Maybe it's a case issue and you should be using $row['Community']? Can't tell because you're using "SELECT *", though...
And he has an open HTML tag. There's no closing bracket for the option. -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#175973) next »