validation problem in server system - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: validation problem in server system (/showthread.php?tid=7258) |
validation problem in server system - El Forum - 04-01-2008 [eluser]MASS MASS[/eluser] I am getting validation problem in server system........ in localhost its working fine ..... Example : login page in controller i wrote function login() { $rules['email'] = "trim|required|xss_clean"; $rules['password'] = "trim|required|xss_clean"; $this->validation->set_rules($rules); $fields['email'] = 'E-mail'; $fields['password'] = 'Password'; $this->validation->set_fields($fields); if ($this->validation->run() == FALSE) { $this->load->view('users/login',$arr_data); } else { echo sucess......; } } from above function its always going to if condition ..... but its working fine in localsystem........ Please help........ its urgent validation problem in server system - El Forum - 04-01-2008 [eluser]GSV Sleeper Service[/eluser] try this Code: if ($this->validation->run() === FALSE) validation problem in server system - El Forum - 04-01-2008 [eluser]MASS MASS[/eluser] HI gsv ...... I tried to this....... its not working........ |