[eluser]Unknown[/eluser]
Thanks for the reply.
just to be more specific.
say i have this function in my model.
function GetProjectsWebsite($options = array())
{
$this->db->order_by('project_display', 'asc');
if(isset ($options['limit']))
$this->db->limit($options['limit']);
$query = $this->db->get("projects");
return $query->result();
}
and that my projects table has a foreign key ( client_id ) to the clients table.
how would i go about adding the relationship so that the result also has the client name field from the clients table.