Welcome Guest, Not a member yet? Register   Sign In
Active Record trouble
#4

[eluser]nEJC[/eluser]
I've just run into this same problem. This
Code:
$this->db->where('mc.section_id=s.id');
and
Code:
$this->db->where('mc.section_id','s.id');
both returned empty resultset. But the following works
Code:
$this->db->where('mc.section_id = s.id');
Notice extra spaces around equals sign.

I wonder would this be listed as a bug or feature? If its a feature it should probably be mentioned in documentation...


Messages In This Thread
Active Record trouble - by El Forum - 08-21-2008, 08:22 AM
Active Record trouble - by El Forum - 08-21-2008, 08:50 AM
Active Record trouble - by El Forum - 08-22-2008, 04:46 AM
Active Record trouble - by El Forum - 11-15-2008, 06:04 PM
Active Record trouble - by El Forum - 11-15-2008, 08:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB