-
Notifications
You must be signed in to change notification settings - Fork 0
/
edit-pq.php
40 lines (26 loc) · 825 Bytes
/
edit-pq.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
<?php require "includes/dashboard-header.php"; ?>
<body>
<section class="container-fluid index-wrapper" style="padding-top: 13rem; background-color: #fff;">
<?php require "includes/nav.php"; ?>
<div class="search-wrapper">
<div class="search-result"></div>
</div>
</section>
<?php require "includes/dashboard-footer.php"; ?>
<script>
$(document).ready(function(){
fetch_pq ();
setInterval(function(){
fetch_pq ();
}, 1000);
function fetch_pq (){
$.ajax({
url:"backend/edit-pq.php",
method: "POST",
success: function(data){
$(".search-result").html(data);
}
});
};
});
</script>