hi, fantastic little security script i wrote works for every site iv recently worked on, but now it dont.... where i decide if someone is logged in and go
if ($loggedin) header("Location:home.php");
i get an error from internet explorer
this is the ACTUAL code im using to redirect
$db->query("UPDATE Users SET LastActive = '$datetime' WHERE ID = '$userid'");
header("Location:home.php");
any ideas as to why this may happen?