include "provinces.php";
?>
$query = "SELECT c.Country_ID, c.CountryName, StateName FROM country c, state s where 1=1 and CountryName = '" . $Country . "' and c.Country_ID = s.Country_ID";
$xresult = mysql_query($query) or die("Failed".mysql_error());
$htmlstr = "
";
$i = 0;
if (mysql_num_rows($xresult)==0):
$query = "SELECT c.Country_ID, c.CountryName, CityName FROM country c, city ct where 1=1 and CountryName = '" . $Country . "' and ct.Country_ID = c.Country_ID";
$result = mysql_query($query) or die("Failed".mysql_error());
$CityName = $row -> CityName ;
if (mysql_num_rows($result)==0):
else:
while ($row = mysql_fetch_object($result)){
$htmlstr = $htmlstr . "