-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreply1.php
85 lines (60 loc) · 2.09 KB
/
reply1.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "sonu";
$conn = new mysqli($servername, $username, $password, $dbname);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql ="INSERT INTO Booking (First,Last,Email,City,Query)
VALUES('$_POST[First]','$_POST[Last]','$_POST[Email]','$_POST[City]','$_POST[Query]');";
if ($conn->multi_query($sql) == TRUE) {
echo "Your data is recorded in DB successfully";
} else {
echo "Error: " . $sql . "<br>" . $conn->error;
}
$conn->close();
?>
<!doctype html>
<html>
<head>
<title>Diagnostic Centre </title>
<link rel ="stylesheet" href ="css/mystyle.css">
<style>
body {background-blend-mode: very lighten;background-image: url("css/download5.jpg"); background-repeat: no-repeat; background-attachment: fixed; background-position: center; background-size: 2000px;}
h1,h3{font-family: "Times New Roman", Times, serif;}
</style>
</head>
<body>
<header>
<img src="jpg/dia.jpg" width="150px" height="130px" align="left">
<h1 style="color:Tomato;">Apex Diagnostics Center</h1>
<ul>
<li><a href="index.php"target="_self"> Home</a></li>
<li><a href="test.php">Book a test</a></li>
<li><a href="facilities.html"> Facilities</a></li>
<li><a href="contact.html">Contact us</a></li>
<li><a href="register.php">Register</a>
<li><a href="login.php">Login</a></li>
</li>
</ul>
<hr>
</header>
<center><img src="jpg/up1.gif" height="200px" width="300px"></center>
<div align="center">
<h1>Your Query has been received, We will get back to you shortly.<h1>
<h2><p>Diagnostics Center, Mumbai-400001.</p></h2>
</div>
<hr>
<div align="center">
<a href="index.html"><h2 style="background-color:black;color:white;">Back To Home Page</h2></a></div>
</div>
<hr>
<center><a href="#top">Scroll back to Top.</a></center>
<hr>
<footer>
copyright©-2022. Diagnostics Center. All Rights Reserved.
</footer><hr>
</body>
</html>