I have a drop down menu, the menu contains names of places.
When i add more then 1 event name to be displaed when a place is selected, it updates my drop down and lists the same place twice or more depending on how many events i have added.
This is the code that displays the name of places
<?php
$event_county= $dbcon->getResultOf("SELECT eventCounty FROM kiyx_event");
print("<select name=\"eventCounty\" size=1>\n");
print("<option value=\"b\">Select");
print("<option value=\"b\">-----");
while($row1 = mysql_fetch_array ($event_county))
{
print("<option value=\"$row1[eventCounty]\">$row1[eventCounty] \n");
}
print("</select>\n");
?>
any support appreciated