-
Notifications
You must be signed in to change notification settings - Fork 4
/
search-doctor.php
89 lines (53 loc) · 1.46 KB
/
search-doctor.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
86
87
88
89
<head>
<title>User Dashboard | Healing Infirmary</title>
<link rel="icon" href="assets/img/mlogo.png">
</head>
<?php
session_start();
require_once('sql.php');
require_once('include/conn.php');
$_SESSION['email'];
$eamil=$_SESSION['email'];
$result = mysqli_query($conn,"SELECT * FROM users Where email='$eamil'");
if (mysqli_num_rows($result) > 0) {
$i=0;
$row = mysqli_fetch_array($result);
}
else{
echo "No result found";
}
include_once('include/header.php');
include_once('include/user-sidebar.php');
?>
<!DOCTYPE html>
<html>
<head>
<title>JS Example</title>
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<main class="app-content">
<div class="app-title">
<div>
<h1><i class="fa fa-search"></i> Search Doctor</h1>
</div>
<ul class="app-breadcrumb breadcrumb">
Search Doctor
</ul>
</div>
<div class="row">
<div class="col-md-9 m-auto">
<div class="tile">
<h3 class="tile-title text-center text-primary">Search Doctor</h3>
<div class="tile-body">
<div class="row">
<div class="col-lg-12">
<div class="input-group">
<input type="text" name="name" id="name" onkeyup="ajax()" autocomplete="off" class="form-control" placeholder="Search your location for doctor" />
</div>
<div id="result" class="table-warning table-hover">
</div>
</div>
</div>
</body>
</html>