[eluser]InsiteFX[/eluser]
Try this
Code:
public function ProcessLogin() {
$this->load->library('form_validation');
$this->load->helper('form');
$this->load->helper('url');
$this->form_validation->set_rules('cid', 'a', 'trim|required|xxs_clean');
$this->form_validation->set_rules('email', 'b', 'trim|required|valid_email|xxs_clean');
$this->form_validation->set_rules('pass', 'c', 'trim|required|xxs_clean');
extract($_POST);
// see if you are getting the post data
var_dump($_POST);
exit;
if($this->form_validation->run()==False) {
echo"false";
}
else {
echo"ok";
}
}