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"); 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. 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
Archived
This topic is now archived and is closed to further replies.