<!DOCTYPE html>
<html>
<head>
<title>Full HTML entry from</title>
<link rel="stylesheet" type="text/css" href="form.css">
</head>
<body bgcolor="lightyellow">
<h1><center>The Ice Cream Shop</center></h1>
<h3>Write HTML form data to Database</h3>
<form name="form1" method="GET" action="/~sultan/cgi-bin/python/3webDB/formToDB.cgi">
<fieldset>
<legend>Enter Fields Below</legend>
<table>
<tr>
<td><b>Enter First Name
<td><input type="text" name="firstname" />
<tr>
<td><b>Last Name
<td><input type="text" name="lastname" />
<tr>
<td><b>Enter Address
<td><textarea name="address"></textarea>
<tr>
<td><b>Ice Cream Flavor
<td><select name="flavor" multiple="multiple">
<option value='vanilla'> Vanilla</option>
<option value='chocolate'> Chocolate</option>
<option value='strawberry'> Strawberry</option>
<option value='butter-pecan'> Butter Pecan</option>
<option value='rocky-road'> Rocky Road</option>
<option value='french-vanilla'>French Vanilla</option>
<option value='pistachio'> Pistachio</option>
</select>
<tr>
<td><b>Select Topping
<td>
<input type="checkbox" name="topping1" value="hotFudge" /> Hot Fudge
<input type="checkbox" name="topping2" value="sprinkles" /> Sprinkles
<input type="checkbox" name="topping3" value="nuts" /> Nuts
<input type="checkbox" name="topping4" value="whippedCream" /> Whipped Cream
<tr>
<td><b>Credit Card
<td>
<input type="radio" name="creditCard" value="visa" /> Visa
<input type="radio" name="creditCard" value="master-card" /> Master Card
<input type="radio" name="creditCard" value="amex" /> American Express
<tr>
<td colspan=2>
<input type="submit" value="Place Order" />
<input type="reset" value="Cancel" />
</table>
</fieldset>
</form>
<hr />
Click <a href=getFromDB.cgi>here</a> to see all orders, with
<a href=getFromDBfilter.cgi>filter</a>, with
<a href=getFromDBsort.cgi>sort</a>, or with
<a href=getFromDBsrch.cgi>search & sort</a>
</body>
</html>