-
Notifications
You must be signed in to change notification settings - Fork 0
/
ajax_fetch.php
35 lines (34 loc) · 1.79 KB
/
ajax_fetch.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
<?php include ( "./inc/connect.inc.php");
include ( "./monthly.php");
$row = (int)$_POST['row'];
$members = DB::query('SELECT * FROM members limit 6 OFFSET '.$row.';');
foreach($members as $p){
$mem_id=$p['id'];
$mem_name=$p['name'];
$mem_email=$p['email_id'];
?>
<tr class="dataHover item searchfunc">
<td class="mem_name"><?php echo $mem_name; ?></td>
<td>
<table class="mem_month mem_monthDisplay db">
<tr>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Jan"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Feb"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Mar"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Apr"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"May"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Jun"); ?></td>
</tr>
<tr>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Jul"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Aug"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Sep"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Oct"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Nov"); ?></td>
<td><?php echo $currenMonth=month::displayMonth($mem_id,"Dec"); ?></td>
</tr>
</table>
</td>
</tr>
<?php }?>
<script src="./js/mem_click.js"></script>