application/models/Dashboard_model.php
/*function for edting datas in table*/
function for edting datas in table
function for edting datas in table
public function newPassword($data,$id,$table){
				$this->db->where($table.'.id', $id);
				if($this->db->update($table, $data)){
					return "Password successfully changed.";
				}else{
					return "Error";
				}
		}
public function newPassword ( $ data , $ id , $ table ) { $ this -> db -> where ( $ table . '.id' , $ id ) ; if ( $ this -> db -> update ( $ table , $ data ) ) { return " Password successfully changed. " ; } else { return " Error " ; } }
function for edting datas in table
function for edting datas in table