forked from if-itb/IF3110-2015-T1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
51 lines (23 loc) · 951 Bytes
/
search.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="questionStyle.css"/>
<script type="text/javascript" src="ValidasiInput.js"></script>
<title>Question</title>
</head>
<body>
<div class="container">
<div id="header" > <a class="link1" href="home.php"> Simple StackExchange </div> </a>
<div class="header2" id="main2">What's your question?</div>
<div>
<form name="ask" onsubmit="return ValidasiInput()" action="InsertQuestion.php" method="post">
<input type="text" name="name" placeholder="Name" class="header3" >
<input type="text" name="email" placeholder="Email" class="header3" >
<input type="text" name="topic" placeholder="Topic" class="header3" >
<textarea type="text" name="content" placeholder="Content" class="header3" id="content"></textarea>
<button id="button" type="submit"> Post </button>
</form>
</div>
</div>
</body>
</html>