generated from wdraghwendra/phpcrud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
50 lines (46 loc) · 2.15 KB
/
contact.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contact Form - PHP/MySQL Demo Code</title>
<!-- Latest compiled and minified CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
</head>
<body class="bg-light">
<div class="container">
<div class="py-5 text-center">
<img class="d-block mx-auto mb-4" src="https://www.raghwendra.com/blog/wp-content/uploads/2018/09/logo-rwsn.png" alt="" width="240" height="64">
<h2>Contact us form</h2>
<p class="lead">Below is an example form How to connect HTML to database with MySQL using PHP? An example</p>
</div>
<fieldset>
<form name="frmContact" class="needs-validation " method="post" action="contact.php">
<p>
<label for="Name">Your Name </label>
<input type="text" class="form-control" name="txtName" id="txtName" placeholder="Name" value="" required>
<div class="invalid-feedback">
Valid first name is required.
</div>
</p>
<p>
<label for="email">Your Email</label>
<input type="text" class="form-control" name="txtEmail" id="txtEmail" placeholder="Email" value="" required>
</p>
<p>
<label for="phone">Your Phone</label>
<input type="text" class="form-control" name="txtPhone" id="txtPhone" placeholder="Phone" value="" required>
</p>
<p>
<label for="message">Message</label>
<textarea name="txtMessage" class="form-control" id="txtMessage" placeholder="Message" required></textarea>
</p>
<p> </p>
<p>
<input type="submit" name="Submit" id="Submit" value="Click me to Contact" class="btn btn-primary btn-lg btn-block">
</p>
</form>
</fieldset>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
</body>
</html>