Welcome Guest, Not a member yet? Register   Sign In
please help with active user select
#1

dear all,

please help me with this script

if ($this->form_validation->run() != FALSE){// echo 'valid';
$valid_user = $this->auth->trylogin($this->input->post("email"), $this->input->post("password"));


if(!$valid_user) {
$msg = '<div style="color: red;font-family:Letter Gothic Std;font-size: 12px;">' . lang('login_error') . '</div>';
}
if($active = 0)) {
$msg = 'your account is not active';
}


else {
redirect('product/catalogue');

}
}

i wanna make login check with active user alert.
please help me ....

thank you
udin_ordinary
Reply


Messages In This Thread
please help with active user select - by udin_ordinary - 12-18-2014, 02:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB