Hacked By AnonymousFox

Current Path : /home/krishnamexports/www/panel/ajax/
Upload File :
Current File : /home/krishnamexports/www/panel/ajax/getState.php

<?php

session_start();

include('../../config/database.php');		

$state_id = $_GET['state_id'];

if(!empty($state_id))

{	

	echo '<option value="">Select City</option>';

	$sqlCity = mysqli_query($cn,"select * from `tbl_city` where `parent_id`='".$state_id."'");		

	while($sqlCityData = mysqli_fetch_array($sqlCity)){

		echo '<option value="'.$sqlCityData['id'].'">'.ucfirst($sqlCityData['name']).'</option>';

	}

}

?>

Hacked By AnonymousFox1.0, Coded By AnonymousFox