-
Notifications
You must be signed in to change notification settings - Fork 0
/
searchform.php
53 lines (45 loc) · 1.04 KB
/
searchform.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Search Form</title>
<style>
h1 {
text-align: center;
font-family: Helvetica;
font-size: 30px;
}
p {
text-align: left;
font-family: Helvetica;
font-size: 24px;
}
}
button, input, select, textarea {
font-family: Helvetica;
font-size: 24px;;
}
</style>
</head>
<body>
<center>
<h1>Search Form</h1>
<font size="5">
<form method="GET" action="search.php">
<div>
Search term or phrase: <input type="text" name="query"><br/>
<php $query = htmlspecialcharacters(trim($query); ?></br>
</div>
<div>
<input type="checkbox" id="wholeword" name="wholeword" checked>
<label for="wholeword">Wholeword Search (uncheck for stemword search)</label>
</div>
<div>
<input type="checkbox" id="brief" name="brief" checked>
<label for="brief">Brief context (uncheck for expanded context) </label>
</div>
<br/><input type="submit" value="submit" >
</form>
</font>
</center>
</body>
</html>