test login"); if($res['status'] == 1) { session_login($res['userID']); header("Location: ".$home."index.php"); } else { $err_msg = "Invalid login"; } } ?> Login