So I am trying to fill out customer info, then send the customer info into the sql database table. I already have my database made so I know the right values are going into it. Just dont know how to get it in. Thanks I have posted code for the customer screen.
<html>
<head>
<title>Customer Info</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
table, td
{
border: 5px blue;
}
</style>
<script type="text/javascript" src=validator.js></script>
<link rel="previous" href="index.html">
</head>
<body>
<h1 style="text-align:center;color:steelblue">
Customer Info
</h1>
<h5 id="errorMessage" style="text-align:center;color:red"></h5>
<form action=customerinfo.html method="POST" onsubmit="return validateCustomerForm(this)">
<table style="margin-right:auto;margin-left:auto">
<tr>
<td style="text-align:right">First Name:</td>
<td><input type="text" name="firstname" size="30"/></td>
</tr>
<tr>
<td style="text-align:right">Last Name:</td>
<td><input type="text" name="lastname" size="30"/></td>
</tr>
<tr>
<td style="text-align:right">Address:</td>
<td><input type="text" name="address" size="50"/></td>
</tr>
<tr>
<td style="text-align:right">City:</td>
<td><input type="text" name="city" size="30"/></td>
</tr>
<tr>
<td style="text-align:right">Province</td>
<td>
<select name="provinces">
<option>[Select Province]</option>
<option>AB</option>
<option>BC</option>
<option>MB</option>
<option>NB</option>
<option>NL</option>
<option>NS</option>
<option>NT</option>
<option>NU</option>
<option>ON</option>
<option>PE</option>
<option>QC</option>
<option>SK</option>
<option>YT</option>
</select>
</td>
</tr>
<tr>
<td style="text-align:right">Postal Code:</td>
<td><input type="text" name="postalcode" size="7"/></td>
</tr>
<tr>
<td style="text-align:right">Telephone#:</td>
<td><input type="text" name="telephone#" size="12"/></td>
</tr>
<tr>
<td colspan='2' style='text-align:center'>
<input type='Submit' value='Submit'/>
</td>
</tr>
</table>
</form>
</body>