-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
39 lines (34 loc) · 1.28 KB
/
contact.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
<?php include'header.php' ?>
<?php include'functions.php' ?>
<?php
$Msg="";
if(isset($_GET['error'])){
$Msg="please fill blanks";
echo '<div class="alert alert-danger">'.$Msg.'</div>';
}
if(isset($_GET['success']))
{
$Msg = " Your Message Has Been Sent ";
echo '<div class="alert alert-success">'.$Msg.'</div>';
}
?>
<section class="contact " id="contact">
<h2 class="textcenter">Contact Us</h2>
<form action="contactprocess.php">
<div class="form">
<input type="text" name="UName" id="name" placeholder="Enter your name">
<input type="email" name="Email" id="email" placeholder="Enter your email">
<input type="number" name="phoneNo" id="phone" placeholder="Enter your phone">
<textarea name="msg" id="area" cols="30" rows="10" placeholder="elaborate your concern"></textarea>
<button type="submit" class="btn btndark" name="btn-send" >Submit</button>
</div>
</form>
</section>
<footer class="background">
<p class="textcenter">
Copyright © 2027 -All Rights Reserved
</p>
</footer>
<script src="js/resp.js"></script>
</body>
</html>