Welcome Guest, Not a member yet? Register   Sign In
validation problem in server system
#1

[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
#2

[eluser]GSV Sleeper Service[/eluser]
try this
Code:
if ($this->validation->run() === FALSE)
#3

[eluser]MASS MASS[/eluser]
HI gsv ......

I tried to this....... its not working........




Theme © iAndrew 2016 - Forum software by © MyBB