complete-php-crud/config.php

15 lines
293 B
PHP
Raw Permalink Normal View History

2020-10-25 03:36:47 +00:00
<?php
$servername = "localhost";
$username = "root";
$password = "";
$databasename = "miniproyek";
// Create connection
$conn = mysqli_connect($servername, $username, $password, $databasename);
// Check connection
if (!$conn) {
die("Connection failed");
}
// Muhammad Daffa ~ daffa.tech
?>