Created
April 6, 2012 22:32
-
-
Save griffiths/2323580 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
<html> | |
<head> | |
<title>Form</title> | |
</head> | |
<body> | |
<!-- Set up our form, which will pass a series of strings to our PHP program --> | |
<form name="input" action="result.php" method="get"> | |
Name: | |
<input type="text" name="name" /><br /> | |
Number: | |
<input type="text" name="number" /><br /> | |
Color: | |
<select name="color"> | |
<option value="blue">Blue</option> | |
<option value="pink">Pink</option> | |
<option value="green">Green</option> | |
<option value="aqua">Aqua</option> | |
<option value="yellow">Yellow</option> | |
<option value="red">Red</option> | |
<option value="silver">Silver</option> | |
</select> | |
<br /> | |
Month: | |
<select name="month"> | |
<option value="jan">January</option> | |
<option value="feb">February</option> | |
<option value="mar">March</option> | |
<option value="apr">April</option> | |
<option value="may">May</option> | |
<option value="jun">June</option> | |
<option value="jul">July</option> | |
</select> | |
<br /> | |
<input type="submit" value="Go!" /> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment