application/models/Dashboard_model.php
/*function for inserting datas to database*/
function for inserting datas to database
function for inserting datas to database
function AddEstabPhoto($data,$table){
				if($this->db->insert($table, $data)){
					return "Added succesfully";
				}else{
					return "Error";
				}
		}
function AddEstabPhoto ( $ data , $ table ) { if ( $ this -> db -> insert ( $ table , $ data ) ) { return " Added succesfully " ; } else { return " Error " ; } }
function for inserting datas to database
function for inserting datas to database