add semakin imut
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
// koneksi localhost
|
||||
// $open = mysqli_connect("127.0.0.1", "root", "", "perawatigd");
|
||||
// koneksi server ugd
|
||||
$open = mysqli_connect("127.0.0.1", "www-data", "www-data", "perawatigd");
|
||||
|
||||
if (!$open) {
|
||||
echo "Error: Unable to connect to MySQL." . PHP_EOL;
|
||||
echo "Debugging errno: " . mysqli_connect_errno() . PHP_EOL;
|
||||
echo "Debugging error: " . mysqli_connect_error() . PHP_EOL;
|
||||
exit;
|
||||
}
|
||||
Reference in New Issue
Block a user