E-mail form using HTML and PHP
Filed Under (Forms, Web Design) by Dave on 01-05-2008
Tagged Under : html & php mail form, mail form, php e-mail script
Sometimes it’s a nice touch to include an e-mail feedback form on your contact page or elsewhere on your web site. Let’s create an e-mail form using html and a simple php script to send it along. The first thing to do is create the form using html. We’ll call it feedback.html. The form will have an action of send.php, which we’ll create later. Below is the html code for our form:
<html>
<head>
<title>E-mail Form</title>
</head>
<body>
<form action=”send.php” method=”POST”>
<p>Name:<br /> <input type=”text” size=”20″ name=”name” /></p>
<p>E-Mail Address:<br /> <input type=”text” size=”20″ name-”email” /></p>
<p>Message:<br />
<textarea name=”message” cols=”30″ rows=”5″></textarea></p>
<p><input type=”submit” value=”send” /></p>
</form>
</body>
</html>



