Created
June 3, 2020 00:01
-
-
Save james0r/0d094db7e4efbe03bb4661dff475e63b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content="A demo of a simple php contact form."> | |
<title>Simple PHP Form Demo</title> | |
</head> | |
<body> | |
<form name="contactform" method="post" action=""> | |
<table width="450px"> | |
<tr> | |
<td valign="top"> | |
<label for="first_name">First Name *</label> | |
</td> | |
<td valign="top"> | |
<input type="text" name="first_name" maxlength="50" size="30"> | |
</td> | |
</tr> | |
<tr> | |
<td valign="top""> | |
<label for=" last_name">Last Name *</label> | |
</td> | |
<td valign="top"> | |
<input type="text" name="last_name" maxlength="50" size="30"> | |
</td> | |
</tr> | |
<tr> | |
<td valign="top"> | |
<label for="email">Email Address *</label> | |
</td> | |
<td valign="top"> | |
<input type="text" name="email" maxlength="80" size="30"> | |
</td> | |
</tr> | |
<tr> | |
<td valign="top"> | |
<label for="telephone">Telephone Number</label> | |
</td> | |
<td valign="top"> | |
<input type="text" name="telephone" maxlength="30" size="30"> | |
</td> | |
</tr> | |
<tr> | |
<td valign="top"> | |
<label for="comments">Comments *</label> | |
</td> | |
<td valign="top"> | |
<textarea name="comments" maxlength="1000" cols="25" rows="6"></textarea> | |
</td> | |
</tr> | |
<tr> | |
<td colspan="2" style="text-align:center"> | |
<input type="submit" value="Submit" name='submit'> | |
</td> | |
</tr> | |
</table> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment