-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
68 lines (45 loc) · 1.65 KB
/
index.php
File metadata and controls
68 lines (45 loc) · 1.65 KB
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
66
67
68
<?php
include('./mail.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Form</title>
<!-- link css -->
<link rel="stylesheet" href="./style.css">
<!-- Font link -->
</head>
<body>
<section action="./mail.php" id="contact">
<h1>CONTACT US</h1>
<form action="" method="POST" id="form">
<div class="form-sec-1">
<input type="text" name="fname" value="" placeholder="Enter Your First Name...">
<input type="text" name="lname" value="" placeholder="Enter Your Last Name...">
</div>
<div class="form-sec-2">
<input type="tel" name="tel" value="" placeholder="Enter Modile Number...">
<input type="email" name="email" value="" placeholder="Enter Email Address...">
</div>
<div class="form-sec-3">
<input type="text" name="address" value="" placeholder="Enter Your Home Address..." id="addr">
</div>
<div class="form-sec-4">
<textarea placeholder="Type Your Massage...." name="mess"></textarea>
</div>
<div class="form-sec-5">
<input type="submit" name="submit" value="SEND MESSAGE" id="sub">
</div>
</form>
</section>
<?php
if(!empty($col)){
echo "$col";
}
?>
<script src="./script.js"></script>
</body>
</html>