<?php include('../config.php');
if($_POST['action']=='data_city') {
?>
<select  class="required form-control" name="city" id="city" >
  <option value="">Select</option>
  <?php  $aryDetail=$db->getRows("select * from  cities  where cid ='".$_POST['cid']."'");
foreach($aryDetail as $iList) {
  ?>
  <option value="<?php echo $iList['id']; ?>"><?php echo $iList['cityname']; ?></option>
  <?php }?>
</select>
<?php } 
 
 
 exit;
 
/*if($_POST['action']=='data_search')
{
  		   $aryData=array( 
						'token'                     => 		token('property'),
						'typeid'                    => 		$_POST['typeid'],
						'title'                     => 		$_POST['title'],
						'description'               => 		$_POST['description'],
						'country'                   => 		$_POST['country'],
						'status'                    => 			$_POST['status'],
						'create_at'     	    			=> 		date("Y-m-d H:i:s"),
						);  
			$flgIn1 = $db->insertAry("property",$aryData);
}*/
?>
