I am by no means a PHP wiz...
I am using PHP to validate my submission form on my website and to submit the important info to a flat file.
I cannot seem to get the error messages, thank you messages, and so forth to work in any other way than to the boring old text on a white page. Users then have to click "back" to fix whatever is wrong. I want the errors to show in a pop up, or to reload the form with highlighted area...or on a seperate page...something stylish. Right now when an error occurs or user forgets a required field it goes to a blank page with the error explination...feels like you are being kicked off the site cause you screwed up!
I am using PHP to validate my submission form on my website and to submit the important info to a flat file.
I cannot seem to get the error messages, thank you messages, and so forth to work in any other way than to the boring old text on a white page. Users then have to click "back" to fix whatever is wrong. I want the errors to show in a pop up, or to reload the form with highlighted area...or on a seperate page...something stylish. Right now when an error occurs or user forgets a required field it goes to a blank page with the error explination...feels like you are being kicked off the site cause you screwed up!