mirror of
https://github.com/Pathduck/pathduck.github.io.git
synced 2026-07-16 16:42:00 -04:00
adds
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
$servername = "";
|
||||
$username = "";
|
||||
$password = "";
|
||||
$database = "";
|
||||
|
||||
$var_mysqli = function_exists('mysqli_connect');
|
||||
var_dump($var_mysqli);
|
||||
|
||||
// Create connection
|
||||
$conn = mysqli_connect($servername, $username, $password, $database);
|
||||
|
||||
// Check connection
|
||||
if (!$conn) {
|
||||
die("Connection failed: " . mysqli_connect_error());
|
||||
}
|
||||
echo "Connected successfully";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user