Update index.php

parent 41268a37
......@@ -215,7 +215,7 @@ $start = ($page - 1) * $per_hal;
<br><br><br><br>
<div class="col-lg-12">
<?php
$query = "SELECT nama,komentar FROM Komentar";
$query = "SELECT * FROM Komentar";
$result_set = $conn->query($query);
while ($row = $result_set->fetch_assoc()) {
......@@ -223,7 +223,7 @@ $start = ($page - 1) * $per_hal;
<div class="alert alert-success" role="alert"> <strong><?= $row['name'] ?></strong>
<p> <?= $row['komentar'] ?></p></div>
<?php }
}
?>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment