-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadd.php
68 lines (57 loc) · 1.02 KB
/
add.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
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE>
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="Add.css">
<title></title>
</head>
<body>
<div class="add">
<h2 style="margin-left: 50px;">Add a place</h2>
<form method="POST" action="insert.php" enctype="multipart/form-data">
<table>
<tr>
<td>
Spot name:
</td>
<td>
<input type="text" name="spotname" placeholder="Enter spot name"/>
</td>
</tr>
<tr>
<td>
Location:
</td>
<td>
<input type="text" name="location" placeholder="Enter location please"/>
</td>
</tr>
<tr>
<td>
Image:
</td>
<td>
<div align="left">
<input style="" name="image" type="file" size="50"/>
</div></td>
</tr>
<tr>
<td >
Description:
</td>
<td>
<textarea name="descr"> </textarea>
</td>
</tr>
<tr>
<td>
</td>
<td>
<button name="submit">SUBMIT</button>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>