mirror of
https://github.com/house-of-vanity/hexound.ru.git
synced 2025-07-08 07:14:08 +00:00
Initial
This commit is contained in:
17
new/db.php
Executable file
17
new/db.php
Executable file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
$servername = "localhost";
|
||||
$username = "chiptune";
|
||||
$password = "pass";
|
||||
$base = "chiptune";
|
||||
|
||||
// Create connection
|
||||
$con = mysqli_connect($servername, $username, $password, $base);
|
||||
|
||||
// Check connection
|
||||
if (!$con) {
|
||||
die("Connection failed: " . mysqli_connect_error());
|
||||
}
|
||||
//echo "Connected successfully";
|
||||
|
||||
$test = mysqli_query($con, 'show tables;');
|
||||
?>
|
Reference in New Issue
Block a user