Welcome Guest, Not a member yet? Register   Sign In
WHERE `column` = `column`
#2

[eluser]Jamie Rumbelow[/eluser]
You can pass a single string to $this->db->where() and it'll work fine. So:

Code:
$this->db->where('column_a = column_b');

Jamie


Messages In This Thread
WHERE `column` = `column` - by El Forum - 05-05-2010, 03:33 PM
WHERE `column` = `column` - by El Forum - 05-05-2010, 03:55 PM
WHERE `column` = `column` - by El Forum - 05-05-2010, 04:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB