I need a little help. How can i send this query with codeigniter?
Delete FROM friendconnect WHERE who = 5 and whos = 1 OR whos = 5 and who = 1;
Just use this $this->db->query("Delete FROM friendconnect WHERE who = 5 and whos = 1 OR whos = 5 and who = 1");
$this->db->query("Delete FROM friendconnect WHERE who = 5 and whos = 1 OR whos = 5 and who = 1");