In this post I’ll show how to design a contact us form using PHP language. And this can send the form details that the user types to any type of email.
So first thing first. You needed to design the main page that contain the fields that you want to get from the user. And here my main page is main.html,
<html>
<head>
<title>Cantact Us Form</title>
</head>
<body>
<form name='form' method='post' action="send_mail.php">
<input type="text" name="name" />
<input type="text" name="email"/>
<textarea name="msg" cols="85" rows="5" ></textarea>
<input type="submit" value="Submit" name="submit_email" />
</form>
</body>
</html>