How to Delete Query with Where Condition in Codeigniter code example
Example: Delete Query with Where Condition in Codeigniter
$this->db->where('id', 2);
$this->db->delete('table_name');
$this->db->where('id', 2);
$this->db->delete('table_name');