user4fun Posted November 30, 2007 Share Posted November 30, 2007 Something is wrong, lol <select name="TERMS"><? $link = mysql_connect("", "", "") or die ("No connection"); mysql_select_db("Information") or die ("no database"); $result = mysql_query("SELECT ID, Term FROM Terms"); while (mysql_fetch_array($result) { echo '<option value=".$row['ID'].">".$row['Term']."</option>\n'; }?></select> Link to comment Share on other sites More sharing options...
Ingolme Posted November 30, 2007 Share Posted November 30, 2007 while ($row = mysql_fetch_array($result)) { echo '<option value="'.$row['ID'].'">"'.$row['Term'].'"</option>\n'; } Link to comment Share on other sites More sharing options...
user4fun Posted December 1, 2007 Author Share Posted December 1, 2007 thx alot Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.