GIF89a;
Direktori : /home/serb/public_html/ |
Current File : /home/serb/public_html/getucity.php |
<? session_start(); include("lib/globals.php"); include("lib/common.php"); include("lib/functions.php"); $res1="<select name='visitor_city' class='drp_img2'>"; echo $sql="SELECT * FROM citys WHERE states_id='".$_GET['c']."' AND city_status='a' ORDER By name"; $res=execute_query($sql); while($row=mysql_fetch_array($res)){ $res2=$res2."<option value='".$row['id']."'>".$row['name']."</option>"; } $res3="</select>"; echo $res1.$res2.$res3; ?>