application/models/Dashboard_model.php
/*count the data entries in selected tables*/
count the data entries in selected tables
count the data entries in selected tables
function counter($table){
 			$query = $this->db->get($table);
 			return $query->num_rows();
		 }
function counter ( $ table ) { $ query = $ this -> db -> get ( $ table ) ; return $ query -> num_rows ( ) ; }
count the data entries in selected tables
count the data entries in selected tables