26 lines
748 B
PHP
26 lines
748 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<title>Lab 3 Form</title>
|
|
</head>
|
|
|
|
<body>
|
|
<form action="submit.php" method="post">
|
|
<label for="fname">First Name:</label>
|
|
<input type="text" name="fname"><br>
|
|
<label for="lname">Last Name:</label>
|
|
<input type="text" name="lname"><br>
|
|
<label for="city">City:</label>
|
|
<input type="text" name="city"><br>
|
|
<label for="province">Province:</label>
|
|
<select name="province">
|
|
<option value="Ontario">Ontario</option>
|
|
<option value="Quebec">Quebec</option>
|
|
<option value="Alberta">Alberta</option>
|
|
</select><br>
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
</body>
|
|
|
|
</html> |