application/controllers/Dashboard.php
//controller for the deleting of category of tourist spots
controller for the deleting of category of tourist spots
controller for the deleting of category of tourist spots
function deleteCategory(){
	 		$ret = $this->dashboard_model->Delete($_POST['id'], 'spot_category');
	 		echo json_encode($ret);
	 	}
function deleteCategory ( ) { $ ret = $ this -> dashboard_model -> Delete ( $ _POST [ 'id' ] , 'spot_category' ) ; echo json_encode ( $ ret ) ; }
controller for the deleting of category of tourist spots
controller for the deleting of category of tourist spots