-
Notifications
You must be signed in to change notification settings - Fork 1
/
addGirls.php
84 lines (80 loc) · 1.48 KB
/
addGirls.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
include("db_connect.php");
$requires = "admin";
include ("menu.php");
?>
<html>
<head>
<title>Add Girl to Troop</title>
</head>
<body>
<div class="content">
<h2>Add Girl to Troop</h2>
<b>Please fill out all of the information on the required fields.</b>
<form method = "POST" action ="addGirlsController.php">
<table>
<tr>
<td>
<?php if(isset($_GET["firstName"])) echo "<span>*</span>"; ?>First Name
</td>
<td>
<input type = "text" name = "firstName" />
</td>
</tr>
<td>
<?php if(isset($_GET["lastName"])) echo "<span>*</span>"; ?>Last Name
</td>
<td>
<input type = "text" name = "lastName" />
</td>
</tr>
<tr>
<td>
<?php if(isset($_GET["address"])) echo "<span>*</span>"; ?>Address
</td>
<td>
<input type = "text" name = "address" />
</td>
</tr>
<tr>
<td>
<?php if(isset($_GET["city"])) echo "<span>*</span>"; ?>City
</td>
<td>
<input type = "text" name = "city"/>
</td>
</tr>
<tr>
<td>
<?php if(isset($_GET["st"])) echo "<span>*</span>"; ?>State
</td>
<td>
<input type = "text" name = "st" />
</td>
</tr>
<tr>
<td>
<?php if(isset($_GET["zip"])) echo "<span>*</span>"; ?>Zip Code
</td>
<td>
<input type = "text" name = "zip" />
</td>
</tr>
<tr>
<td>
<?php if(isset($_GET["DOB"])) echo "<span>*</span>"; ?>DOB
</td>
<td>
<input type ="text" name = "DOB" />
</td>
</tr>
<tr>
<td>
<input type="submit" value="Submit" />
</td>
</tr>
</table>
</form>
</div>
</body
</html>