Jump to content

combo box


user4fun

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...