-
Notifications
You must be signed in to change notification settings - Fork 22
/
employee_count.php
79 lines (56 loc) · 1.95 KB
/
employee_count.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
<?php
include_once 'header_h.php';
?>
<?php
include_once 'roles.php';
?>
<form action="#" method="post" id="employee_count">
<section class="content">
<div class="container-fluid">
<div class="block-header">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="card">
<div class="header">
<center>
<?php
include_once 'config/config.php';
$q="SELECT
*
FROM
employee";
$cnt=0;
$status = mysqli_query($connection_obj,$q);
if($status)
{
while ($row = mysqli_fetch_assoc($status))
{
$cnt++;
}
}
/*
{
echo "Today's Birthday People List<br>";
echo $data['Employee_name'];
}*/
?>
<div> <h1>
<b><u><font face="Arial" color="red">Employee added successfully.</font> </b></u>
</h1> <br> <br> <br> <br>
</div>
<div> <h1>
<b><u><font face="Arial" color="green">Employee added till now are <?php echo $cnt;?>.</font> </b></center></u>
</h1> <br> <br> <br> <br> <br> <br> <br> <br> <br>
</div>
</div>
</div>
</div>
</div>
</div>
<center>
<a href="<?=ADMIN_URL?>home_page.php"><input class="btn btn-primary waves-effect" name="close" type="button" value="CLOSE" ></a></button>
</center>
</section>
</form>
<?php
include_once 'footer_h.php';
?>