autopdr Posted July 5, 2008 Share Posted July 5, 2008 Please can anyone recommend a good tutorial source for building a sticky web form for php5? I specifically need the form to process itself, validate some input, show an error message adjacent to the relevant input field then send the input as a formatted HTML email. I have searched high and low and found only old tutorials, sticky tutorials that don't cover validation errors and various half-helpful tips etc. My main problem as a relative newcomer to php is glueing all the right bits together. My approach is: If the form was submitted do the following: Check for invalid/spam input Set local variables Read the Posted input Validate the input that needs validating Show errors where errors exist Build the message Define email headers Send the email Show Thanks message Else Print the HTML form Is this sound? All or any help will be gratefully received. Link to comment https://forums.phpfreaks.com/topic/113309-sticky-form-to-mail-help/ Share on other sites More sharing options...
ron8000 Posted July 5, 2008 Share Posted July 5, 2008 A good start and rescource is http://www.w3schools.com/php/php_forms.asp Link to comment https://forums.phpfreaks.com/topic/113309-sticky-form-to-mail-help/#findComment-582162 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.