-
Notifications
You must be signed in to change notification settings - Fork 0
/
electionSelect.php
40 lines (29 loc) · 802 Bytes
/
electionSelect.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
<html>
<head>
<link rel="stylesheet" type="text/css" href="pr.MyStylePlain.css" />
<title>Election</title>
</head>
<body style="text-align: center; background-color: #F3E2A9">
<br><br>
<h1>Choose Election District and Machine</h1>
<?php
echo "Select the district: ";
echo "<form action = './electionSpecificInput.php' name='choices' method ='post'> ";
echo "<select name='district'>";
$number_of_districts = 22;
for ($i=1; $i<=$number_of_districts; $i++){
echo '<OPTION VALUE="' . $i . '">' . $i ;
}
echo "</select><br><br>Select the machine: ";
echo "<select name='machine'>";
$maximum_number_machines = 3;
for ($i=1; $i<=$maximum_number_machines; $i++){
echo '<OPTION VALUE="' . $i . '">' . $i ;
}
echo "</select>";
?>
<br>
<p><input type=submit></p>
</form>
</body>
</html>