// connect to database
$conn = new mysqli($host, $username, $password, $dbname);
+ // force to use PH timezone
+ $conn->query("SET time_zone='+08:00';");
+
// check connection
if($conn->connect_error){
die("Connection failed: {$conn->connect_error}");
<br><br>
- <center><h2>Entries</h2></center>
<table cellspacing="7" cellpadding="3" width="500" bgcolor="#0087fc">
<?php
if($result && $result->num_rows > 0){