Welcome Guest, Not a member yet? Register   Sign In
Very Irritating Problem
#9

[eluser]Armchair Samurai[/eluser]
If it was me, I'd just tack it on the end of the custom string section:

Quote:Custom string:

You can write your own clauses manually:
Code:
$where = "name='Joe' AND status='boss' OR status='active'";

$this->db->where($where);
If you write your own custom string, $this->db->where() accepts an optional second parameter. If you set it to FALSE, CodeIgniter will not try to protect your field names with backticks.
Code:
$this->db->where('MATCH (first_name, last_name) AGAINST (`wiggum`)', FALSE);


Messages In This Thread
Very Irritating Problem - by El Forum - 03-30-2008, 08:58 PM
Very Irritating Problem - by El Forum - 03-30-2008, 09:29 PM
Very Irritating Problem - by El Forum - 03-31-2008, 01:21 PM
Very Irritating Problem - by El Forum - 03-31-2008, 03:58 PM
Very Irritating Problem - by El Forum - 03-31-2008, 07:05 PM
Very Irritating Problem - by El Forum - 03-31-2008, 11:05 PM
Very Irritating Problem - by El Forum - 03-31-2008, 11:10 PM
Very Irritating Problem - by El Forum - 03-31-2008, 11:16 PM
Very Irritating Problem - by El Forum - 03-31-2008, 11:27 PM
Very Irritating Problem - by El Forum - 04-06-2008, 01:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB