Unnamed
public text v1 · immutable <?
$sql="SELECT id, name1 FROM client_staff ORDER BY name1";
$result=mysql_query($sql);
$options="";
while ($row=mysql_fetch_array($result)) {
$id=$row["id"];
$thing=$row["name1"];
$options.="<OPTION VALUE=\"$thing\">".$thing;
}
?>
<select name="contact" id="contact">
<option value="0">Choose
<?=$options?>
</option>
</select>