<script> function printPage() { window.print(); } </script>
<?php include ('database.php'); $result = $database->prepare ("SELECT * FROM tbl_member order by tbl_member_id DESC"); ?> <table> <thead> <tr> </tr> </thead> <tbody> <?php $result ->execute(); for ($count=0; $row_member = $result ->fetch(); $count++){ $id = $row_member['tbl_member_id']; ?> <tr> </tr> <tr> </tr> <?php } ?> </tbody> </table>