application/controllers/Dashboard.php
//controller for the editing the  security like password and hint of the user
controller for the editing the  security like password and hint of the user
controller for the editing the security like password and hint of the user
public function editSecurity(){
	 		$data['password'] = password_hash($_POST['password'], PASSWORD_DEFAULT) ;
	 		$id = $_POST['id'];
	 		$ret = $this->dashboard_model->EditInfo($data,$id,'admin');
	 		echo $ret;
	 	}
public function editSecurity ( ) { $ data [ 'password' ] = password_hash ( $ _POST [ 'password' ] , PASSWORD_DEFAULT ) ; $ id = $ _POST [ 'id' ] ; $ ret = $ this -> dashboard_model -> EditInfo ( $ data , $ id , 'admin' ) ; echo $ ret ; }
controller for the editing the  security like password and hint of the user
controller for the editing the security like password and hint of the user