edit

parent 2ec7b5c7
<?php
global $conn;
$conn = mysqli_connect("localhost", "p1d3ti05", "Fredrick8", "p1d3ti05_cafedb");
$conn = mysqli_connect("localhost", "p1d3ti05", "Fredrick8");
if(!$conn){
die("database connect problem");
}
......
......@@ -225,7 +225,7 @@ $start = ($page - 1) * $per_hal;
<br><br><br><br>
<div class="col-lg-12">
<?php
$query = "SELECT * FROM Komentar";
$query = "SELECT * FROM komentar";
$result_set = $conn->query($query);
while ($row = $result_set->fetch_assoc()) {
......
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