-
Notifications
You must be signed in to change notification settings - Fork 23
/
check.php
31 lines (30 loc) · 1.01 KB
/
check.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
<?php
include './Database/Controler.php';
include 'role.php';
?>
<script>
function mf()
{
var nm1=prompt("Enter code");
if(nm1)
{
$.ajax({
type:"GET",
url:"./Database/Controler.php",
data:"ch="+nm1,
success:function(result)
{
$("#nm").html(result);
}
});
}
}
</script>
</script>
<form method="post">
<button type="submit" id="chandni" name="chandni" value="submit" class="btn btn-primary" onClick="mf()" style="height: 100%; width: 30%;" >Submit</button>
<input type="hidden" id="nm" name="nm">
</form>
<?php
include 'footer.php';
?>