Exemplo n.º 1
0
 function login()
 {
     $username = $this->input->post('username');
     $password = md5($this->input->post('password'));
     $o = new Candidate();
     $o->where(array('username' => $username, 'password' => $password));
     $o->get_iterated();
     if ($o->result_count() == 0) {
     } else {
     }
 }