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 Quote 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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.