Just trying to write custom string for $this->db->where();
function but I get syntax errors. Could you have a look on the code below to find the mistake
$where = "'phone' => $this->input->post('phone') AND '2g' = $data['2g'] OR '3g' = $data['3g'] OR '4g' = $data['4g']";