i have been using this model for getting datafrom only one table
function model_employee_all()
{
$this->load->database();
$query = $this->db->get('mytable1');
return $query->result();
}
How should i configure it to get data from multiple tables such as mytable1 and mytable2, Is there any way to use joins...
Thanks.