A
Anonymous
Guest
Hello.I have a sample.It uses arrays but the ideea stays the same.All you have to do is to modify it
$country_array=array("France","Romania"); ans so on.
I hope you will understand this and then crezte your own.If not I'll try to send you the code for mysql
where<select name="country" size="1" id="country">
<?
for ($i=0;$i<count($country_array);$i++)
{
if ($i==0)
{
?>
<option selected><?echo $country_array[$i]?></option>
<?
}
else
{
?>
<option><?echo $country_array[$i]?></option>
<?
}
}
?>
</select>
$country_array=array("France","Romania"); ans so on.
I hope you will understand this and then crezte your own.If not I'll try to send you the code for mysql