application/controllers/Dashboard.php
//controller for the editing the  districts
controller for the editing the  districts
controller for the editing the districts
public function editDesc(){
			$data['description'] = $_POST['description'];
			$id = $_POST['id'];
			$ret = $this->dashboard_model->EditDesc($data,$id,'spots');
			echo $ret;
		}
public function editDesc ( ) { $ data [ 'description' ] = $ _POST [ 'description' ] ; $ id = $ _POST [ 'id' ] ; $ ret = $ this -> dashboard_model -> EditDesc ( $ data , $ id , 'spots' ) ; echo $ ret ; }
controller for the editing the  districts
controller for the editing the districts