<?php

$d_host = "localhost";
$d_name = "root";
$d_password = "";
$d_dbname = "pasaran";

$data = mysqli_connect($d_host, $d_name, $d_password, $d_dbname);
date_default_timezone_set('Asia/Bangkok');
$today = date("Y-m-d H:i:s");
$todaydate = date("Y-m-d");

if(!$data) {
    echo "Error Connect Database";
}

?>