mirror of
https://github.com/Alvin-Zilverstand/school.git
synced 2026-12-01 02:27:50 +01:00
:3
This commit is contained in:
1 parent
470608f6fd
commit
3e57d923f9
4461 files changed
+19668
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$servername = "localhost:3306";
|
||||
$username = "database";
|
||||
$password = "13cAv?i52";
|
||||
$dbname = "schoolkantine";
|
||||
|
||||
// Create connection
|
||||
$conn = new mysqli($servername, $username, $password, $dbname);
|
||||
|
||||
// Check connection
|
||||
if ($conn->connect_error) {
|
||||
die("Connection failed: " . $conn->connect_error);
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user