Welcome Guest, Not a member yet? Register   Sign In
Joining tables with Active Record works fine, but how do I add a WHERE clause into the mix?
#2

[eluser]TheFuzzy0ne[/eluser]
id looks ambiguous to me. I'd imagine you'd need to use something like:
Code:
$this->db->where('jobtypes.id', $this->uri->segment(4));
or
Code:
$this->db->where('categories.id', $this->uri->segment(4));


Messages In This Thread
Joining tables with Active Record works fine, but how do I add a WHERE clause into the mix? - by El Forum - 02-16-2009, 12:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB