Mous86 Posted May 24, 2012 Share Posted May 24, 2012 doesn't seem to work if ($_POST['new-classes']) header("Location: entry-successful.html"); else header("Location: thankyou.html"); Quote Link to comment https://forums.phpfreaks.com/topic/263038-using-a-hidden-value-in-form-to-redirect/ Share on other sites More sharing options...
trq Posted May 24, 2012 Share Posted May 24, 2012 Have you got error reporting enabled. Also, the Location header is expected to be a complete url. Quote Link to comment https://forums.phpfreaks.com/topic/263038-using-a-hidden-value-in-form-to-redirect/#findComment-1348228 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.