/
update.php
41 lines (33 loc) · 1.07 KB
/
update.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Update record</title>
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<link rel="stylesheet" href="table.css" type="text/css">
</head>
<body>
<?php
include 'header.php';
?>
<form action="updateAndConfirm.php" method="post">
<p>
Enter the ID of the record you want to update: <input type="text" name="id" size="30"> <br>
Enter the new first name: <input type="text" name="fname" size="10"> <br>
Enter the new last name: <input type="text" name="lname" size="10"> <br>
Enter the new phone number (format as XXXXXXXXXX): <input type="text" name="phone" size="10"> <br>
Enter the new location:
<select name="location">
<option value="">Select location, please.</option>
<option value="New Jersey">New Jersey</option>
<option value="New York">New York</option>
<option value="California">California</option>
</select> <br>
</p>
<p><input type="submit" value="Send"></p>
</form>
<?php
include 'goBack.php';
include 'footer.php';
?>
</body>
</html>