-
Notifications
You must be signed in to change notification settings - Fork 1
/
complaint.php
46 lines (34 loc) · 1.08 KB
/
complaint.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
<?php
//Step1
$db = mysqli_connect('localhost','balaji','spiderman','copper')
or die('Error connecting to MySQL server.');
?>
<html>
<head><title>COMPLAINT FORM</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="style.css" type="text/css" media="all" />
</head>
<body>
<h2>COMPLAINT FORM</h2>
<form class="form" action="insert.php" method="GET">
<p class="name">
<input type="text" name="name" id="name" placeholder="John Doe" />
<label for="name">Name</label>
</p>
<p class="email">
<input type="text" name="email" id="email" placeholder="mail@example.com" />
<label for="email">Email</label>
</p>
<p class="web">
<input type="text" name="web" id="web" placeholder="www.example.com" />
<label for="web">Website</label>
</p>
<p class="text">
<textarea name="text" placeholder="Write something to us" /></textarea>
</p>
<p class="submit">
<input type="submit" value="Send" />
</p>
</form>
</body>
</html>