add config.php

This commit is contained in:
Evelyn 2025-12-17 10:32:35 +07:00
parent 414178b437
commit f1c677b005

View File

@ -5,7 +5,7 @@ $user = "root";
$password = "";
$database = "users_db";
$conn = new mysqli($host, $user, $password, $database);
$conn = new mysqli("localhost", "root", "", "users_db", 3307);
if ($conn->connect_error) {
die("Koneksi gagal: " . $conn->connect_error);