xn1 Posted March 19, 2011 Author Share Posted March 19, 2011 I've found the solution, it was a simple case of removing the exit(); at the end of the php, now it works perfect Thank you for all of your help and time, it was very appreciated Link to comment https://forums.phpfreaks.com/topic/231002-show-error-to-the-side-of-the-input-feild-form/page/2/#findComment-1189688 Share on other sites More sharing options...
cyberRobot Posted March 20, 2011 Share Posted March 20, 2011 For reference, I think the blank page was caused by an extra curly bracket that snuck into the code. header( "Location: thankyou.php" );} //<--- sneaky curly bracket The exit() call was supposed to be inside that bracket. Of course in the end, the exit part isn't necessary since your redirecting the page to thankyou.php Link to comment https://forums.phpfreaks.com/topic/231002-show-error-to-the-side-of-the-input-feild-form/page/2/#findComment-1189905 Share on other sites More sharing options...
xn1 Posted March 20, 2011 Author Share Posted March 20, 2011 Ah i see, well thank you again for all of your help, its certainly been educational Link to comment https://forums.phpfreaks.com/topic/231002-show-error-to-the-side-of-the-input-feild-form/page/2/#findComment-1189932 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.