Welcome Guest, Not a member yet? Register   Sign In
Active record WHERE problem...
#5

[eluser]Thomas @ BBP[/eluser]
Great ! Seems to works !

After testing this solution, I've take a look into the Code Igniter Active Records doc and I've seen that two lines saying :

Quote:$this->db->where() accepts an optional third parameter. If you set it to FALSE, CodeIgniter will not try to protect your field or table names with backticks.

$this->db->where('MATCH (field) AGAINST ("value")', NULL, FALSE);

I've missed those two lines, too bad for me !

Thanks a lot for your help !


Messages In This Thread
Active record WHERE problem... - by El Forum - 03-27-2012, 03:34 AM
Active record WHERE problem... - by El Forum - 03-27-2012, 04:40 AM
Active record WHERE problem... - by El Forum - 03-27-2012, 04:47 AM
Active record WHERE problem... - by El Forum - 03-27-2012, 06:11 AM
Active record WHERE problem... - by El Forum - 03-27-2012, 07:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB