application/controllers/Dashboard.php
//controller for the editing the municipalities
controller for the editing the municipalities
controller for the editing the municipalities
public function editMunicipality(){
	 		$data['name'] = $_POST['name'];
	 		$data['district_id'] = $_POST['dist_id'];
	 		$id = $_POST['id'];
	 		$ret = $this->dashboard_model->Edit($data,$id,'municipality');
	 		echo $ret;
		 }
public function editMunicipality ( ) { $ data [ 'name' ] = $ _POST [ 'name' ] ; $ data [ 'district_id' ] = $ _POST [ 'dist_id' ] ; $ id = $ _POST [ 'id' ] ; $ ret = $ this -> dashboard_model -> Edit ( $ data , $ id , 'municipality' ) ; echo $ ret ; }
controller for the editing the municipalities
controller for the editing the municipalities