Code: Select all
<form id="search_profiles_form" action= "profile_search.php">
02
03
04
05
06
07
Seeking A:
08
<select name= "sex">
09
<option value= "man">Man</option>
10
<option value= "woman">Woman</option>
11
<option value= "both">Both</option>
12
<select>
13
14
15
<p> <tab> Age Range: <?php
16
print '<select name= "min_age">';
17
for ($age = 18; $age <= 99; $age++) {
18
print "\n<option value=\"$age\">$age</option>";
19
}
20
print '</select>'; ?> </tab>
21
22
<tab> and: <?php
23
print '<select name= "max_age">';
24
for ($age = 18; $age <= 99; $age++) {
25
print "\n<option value=\"$age\">$age</option>";
26
}
27
print '</select>'; ?> </tab> </p>
28
29
</form>