<table class="table table-sm"> <table> <?php foreach($results as $row){ ?> <tr> <td> <tr><th colspan="2"><?php echo $row->institutionname; ?></th></tr> <tr><td colspan="2"><?php echo $row->sessionname.' '.$row->classname; ?></td></tr> <tr><td><?php echo $row->admissionno.' '. $row->studentname; ?></td></tr> <tr><td>Fee Type</td><td><?php echo $row->feetype; ?></td></tr> <tr><td>Fee Month</td><td><?php echo $row->formonth; ?></td></tr> <?php $tb = floatval($row->balance) - floatval($row->payableamount); ?> <tr><td>Remaining Dues</td><td><?php echo $tb; ?></td></tr> <tr><td>Current Payable</td><td><?php echo $row->payableamount; ?></td></tr> <tr><td>Total Payable</td><td><?php echo $row->balance; ?></td></tr> <tr><td>Paid</td><td><?php echo ($row->paid==1)?'Yes':'No'; ?></td></tr> </td> <td> <tr><th colspan="2"><?php echo $row->institutionname; ?></th></tr> <tr><td colspan="2"><?php echo $row->sessionname.' '.$row->classname; ?></td></tr> <tr><td><?php echo $row->admissionno.' '. $row->studentname; ?></td></tr> <tr><td>Fee Type</td><td><?php echo $row->feetype; ?></td></tr> <tr><td>Fee Month</td><td><?php echo $row->formonth; ?></td></tr> <?php $tb = floatval($row->balance) - floatval($row->payableamount); ?> <tr><td>Remaining Dues</td><td><?php echo $tb; ?></td></tr> <tr><td>Current Payable</td><td><?php echo $row->payableamount; ?></td></tr> <tr><td>Total Payable</td><td><?php echo $row->balance; ?></td></tr> <tr><td>Paid</td><td><?php echo ($row->paid==1)?'Yes':'No'; ?></td></tr> </td> <td> <tr><th colspan="2"><?php echo $row->institutionname; ?></th></tr> <tr><td colspan="2"><?php echo $row->sessionname.' '.$row->classname; ?></td></tr> <tr><td><?php echo $row->admissionno.' '. $row->studentname; ?></td></tr> <tr><td>Fee Type</td><td><?php echo $row->feetype; ?></td></tr> <tr><td>Fee Month</td><td><?php echo $row->formonth; ?></td></tr> <?php $tb = floatval($row->balance) - floatval($row->payableamount); ?> <tr><td>Remaining Dues</td><td><?php echo $tb; ?></td></tr> <tr><td>Current Payable</td><td><?php echo $row->payableamount; ?></td></tr> <tr><td>Total Payable</td><td><?php echo $row->balance; ?></td></tr> <tr><td>Paid</td><td><?php echo ($row->paid==1)?'Yes':'No'; ?></td></tr> </td> </tr> <?php } ?> </table> </table>
tr
td
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)