[eluser]skunkbad[/eluser]
[quote author="Jamie Rumbelow" date="1273114538"]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[/quote]
Well, I had to use backticks to make it work. Thanks
Code:
$where = 'product_id = `product_group`';
$this->db->where($where);