I m using PHP CodeIgniter with CRUD MY_Modal. i want to prevent SQL Injection. How I deal with.
$condition_array=array('email'=> $this->input->post('user_id'),'password' => $this->input->post('password'),);
$user= $this->Service_seeker_m->get_by($condition_array,TRUE);
in this way i m calling the my model(Service_seeker_m
) which is include MY_Modal
(CRUD).
can any body help me to solve my query. thanks