0){ $row=fetch_array($row); $_SESSION['user_id']=$row['user_id']; $_SESSION['user_email']=$row['user_email']; $_SESSION['user_fname']=$row['user_fname']; $_SESSION['user_name']=$row['user_name']; query("UPDATE tbl_user SET user_online='Yes' WHERE user_id='".$_SESSION['user_id']."'"); echo ""; }else{ $error="User Name / Email Address or password does't exit! Please try again!"; } } ?>
Sign In to your account