How can I escape " (double quotes) with Codeignniter Acitve Record?
$query_string = 'double " quotes';
$sql = "SELECT * FROM name WHERE email LIKE "%'.$query_string.'%" ";
$query = $this->db->query($sql);
I get mysql error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%" OR email like "%"%"
Any suggestions how ti fix that
$this->db->where()$this->db->like()$this->db->get()- Willem Ellis