update record dan index

master
Aji Kamaludin 6 years ago
parent 7034e5986b
commit be1387befe

@ -99,7 +99,7 @@ $page = (isset($_GET['page'])) ? $_GET['page'] : 1;
<th>Label</th>
<th>Kunci</th>
</tr>
<?php foreach($db->tweets->paginate(15, $page,['tgl_ambil' => 'DESC']) as $tweet): ?>
<?php foreach($db->tweets->paginate(15, $page,['id' => 'DESC']) as $tweet): ?>
<tr>
<td><?= $tweet['id_tweet'] ?></td>
<td><?= $tweet['text_dirty'] ?></td>

@ -76,6 +76,7 @@ $db->clear();
</div>
<div class="box-body">
<div id="donut-chart" style="height: 300px;"></div>
<p>Jumlah Tweet : <?= $total ?></p>
</div>
<!-- /.box-body-->
</div>
@ -94,6 +95,7 @@ $db->clear();
</div>
<div class="box-body">
<div id="bar-chart" style="height: 300px;"></div>
<p>Jumlah Tweet : <?= $total ?></p>
</div>
<!-- /.box-body-->
</div>

Loading…
Cancel
Save