Welcome Guest, Not a member yet? Register   Sign In
full text search with active records?
#6

[eluser]Pascal Kriete[/eluser]
I haven't. I didn't think I'd have to verify Derek's comment Smile .

EDIT: You're right, it doesn't escape the query (correct behavior), but it also adds a trailing zero (wtf behavior).

EDIT2: where() takes 3 arguments, so it will be:
Code:
$this->db->where('MATCH (field) AGAINST ("value")', NULL, FALSE);
$this->db->get('table');

This needs to be in the docs.


Messages In This Thread
full text search with active records? - by El Forum - 04-05-2008, 10:19 AM
full text search with active records? - by El Forum - 04-05-2008, 12:37 PM
full text search with active records? - by El Forum - 04-05-2008, 01:33 PM
full text search with active records? - by El Forum - 04-05-2008, 02:05 PM
full text search with active records? - by El Forum - 04-05-2008, 02:57 PM
full text search with active records? - by El Forum - 04-05-2008, 04:15 PM
full text search with active records? - by El Forum - 04-06-2008, 12:30 PM
full text search with active records? - by El Forum - 04-06-2008, 01:27 PM
full text search with active records? - by El Forum - 04-06-2008, 01:27 PM
full text search with active records? - by El Forum - 05-01-2008, 02:00 PM
full text search with active records? - by El Forum - 05-03-2008, 05:23 AM
full text search with active records? - by El Forum - 02-13-2009, 08:17 PM
full text search with active records? - by El Forum - 02-14-2009, 04:42 AM
full text search with active records? - by El Forum - 02-14-2009, 08:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB