add silaras to git repo
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<h3>Daftar Pasien</h3>
|
||||
|
||||
<?php if (!empty($pasien)): ?>
|
||||
<table border="1" cellpadding="8">
|
||||
<tr>
|
||||
<th>No</th>
|
||||
<th>RM</th>
|
||||
<th>Nama</th>
|
||||
<th>Tgl Lahir</th>
|
||||
<th>Gender</th>
|
||||
<th>Alamat</th>
|
||||
</tr>
|
||||
|
||||
<?php $no=1; foreach($pasien as $p): ?>
|
||||
<tr>
|
||||
<td><?= $no++ ?></td>
|
||||
<td><?= $p['rm'] ?></td>
|
||||
<td><?= $p['nama'] ?></td>
|
||||
<td><?= $p['tgl_lahir'] ?></td>
|
||||
<td><?= $p['gender'] ?></td>
|
||||
<td><?= $p['alamat'] ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
|
||||
</table>
|
||||
<?php else: ?>
|
||||
<p>Belum ada data</p>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user