|
HTML Home
Create a Website HTML TutorialHTML Tutorial HomeAbout HTML Getting Started HTML Elements HTML Formatting HTML Attributes HTML Colors HTML Links HTML Images HTML Meta Tags HTML Comments HTML Forms HTML Tables HTML Image Maps HTML Frames HTML Entities HTML Layouts HTML Styles HTML Scripts HTML Website Templates Website Hosting Summary HTML Code GeneratorsHTML Code GeneratorHTML Table Generator Marquee Generator Music Code Generator HTML Text Generator Text Box Generator Free HTML CodesHTML Background CodeHTML Comment Box Codes HTML Scroll Box Codes HTML Font Codes HTML Picture Codes HTML Marquee Code HTML Music Codes HTML Templates More Codes... HTML ReferenceHTML ExamplesComplete HTML Tag List Complete HTML 5 Tag List HTML Special Characters Hex Color Codes HTML Help FREE Hosting!With every domain name you register with ZappyHost, you get FREE hosting.$1.99 Domain NamesWith every new non-domain purchase thru ZappyHost, you get a domain name for only $1.99. |
HTML Form To EmailUse the following HTML code to create a basic feedback form that sends you an email when submitted. When a visitor submits this form, the PHP script will generate an email to the webmaster containing the contents of the completed form. The PHP script is a basic script but it works well. Because of its simplicity, it is very easy to follow. Feel free to customize the code for your own purposes. View ExampleThe following code creates this feedback form. To get the code for this feedback form, download the zip file below. DownloadThis is the quickest way to get the form to email script. Simply download the .zip file, customize the files, and you're done. This .zip file consists of four files:
All four files are required to create the working feedback form as per the above example. Download: feedback_form.zip. Installation:Once you've downloaded the .zip file above, do the following:
If you change the names of the files, be sure to update the PHP script to reflect the new names. Also, if you are familiar with HTML/PHP, you could combine the code from all four files into one PHP file. However, this would require substantial modification so, unless you know what you're doing, keep them as four separate files. If you can't download or access the .zip file, see below. Modify Your Feedback FormYou can change the look of your feedback form by adding styles to it. Check out these comment boxes to change the color of your feedback form, add a background picture, or add a border to your comment box. Can't Download The .Zip File?If you can't download or access the .zip file above, you can copy and paste the code below. Make sure you change the email address at the top of send_mail.php (as per installation instructions above).
Save this code into a file called Note that this feedback form includes HTML table code for formatting purposes. This script has been written in PHP. Your web server will need to support PHP to run this. If you're not sure, upload it and see if it works. Most hosting plans support PHP these days. Save this code as If you change the name of any of the other files, be sure to update this script - the names of those files are included in this script. If you decide to add some fields to your feedback form, you will need to add them to this script too. Save this code into a file called Save this code into a file called Enjoy this website?
Oh, and thank you for supporting Quackit! |
Need Content for your Website?Get unique, quality digital content for your website. You can even earn money by reselling it!Includes:
|