blueman378 Posted March 8, 2008 Share Posted March 8, 2008 hi guys, well heres what im trying to do: $old = $_SESSION['oldpage']; $_SESSION['error'] = "Username/password combination not correct!"; header( "Location: {$old}" ); but it simply isnt redirecting, btw $_SESSION['oldpage']; is set soewhere else any ideas, cheers matt Quote Link to comment Share on other sites More sharing options...
Stooney Posted March 8, 2008 Share Posted March 8, 2008 <?php $_SESSION['oldpage']='old.php'; header("Location: $_SESSION[oldpage]"); ?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.