From: "matthew perry" <mwperry@xxxxxxxxxxx> > <?if($logIn != 1) {header("Location: loginError.php");}?> > > Why does this direct me to loginError.php even when $logIn = 1? It doesn't. Double check your value of $logIn by printing it out or using print_r/vardump/etc... ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php