<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Select a Customer:</title>
<script type="text/javascript" src="showCustomer.js"></script>
</head>

<body>

<?php
require_once('../dbConnect.php');
$db = "ajaxtest";
dbConnect ($db);

$sql="SELECT * FROM customer";

$result = mysql_query($sql);

echo "<form action='' method='get'>
<p>Select a Customer:
<select name='customers' onchange='showCustomer(this.value)'>
";

while ($row = mysql_fetch_assoc($result)) {
	echo "<option value='$row[FirstName]'>$row[FirstName]</option>";
}

echo "</select></p></form>"; 
?>

<div id="txtHint"><b>Customer info will be listed here.</b></div>

</body>
</html>