| Server IP : 104.21.73.108 / Your IP : 216.73.216.59 Web Server : Apache/2 System : Linux cat167-197.static.lnwhostname.com 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 User : paphayomho ( 1042) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/paphayomho/domains/paphayomhospital.go.th/private_html/HHC/admin/ |
Upload File : |
<?php include('dbcon.php'); ?>
<table cellpadding="0" cellspacing="0" border="0" class="table" id="">
<thead>
<tr>
<th>Surname</th>
<th>Given Name</th>
<th>Middlename</th>
<th>Birthdate</th>
<th>Relationship to Member</th>
<th class="empty"></th>
</tr>
</thead>
<tbody>
<?php
$query = $conn->query("select * from dependents where member_id = '$get_id'") or die(mysql_error());
while ($row = $query->fetch()) {
$id = $row['dependent_id'];
?>
<tr>
<td><?php echo $row['dependent_surname']; ?></td>
<td><?php echo $row['dependent_givenname']; ?></td>
<td><?php echo $row['dependent_middlename']; ?></td>
<td><?php echo $row['birthdate']; ?></td>
<td><?php echo $row['relationship']; ?></td>
<td class="empty" width=""><a href="delete_dependent_add.php<?php echo '?id='.$get_id; ?>&<?php echo 'member_id='.$id; ?>" class="btn btn-danger"><i class="icon-remove"></i> Delete</a></td>
</tr>
<?php } ?>
</tbody>
</table>