Initial commit

This commit is contained in:
Monarch055
2026-06-10 19:36:52 +07:00
commit 7ad037bf0a
69 changed files with 16579 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
<?php
$host = 'localhost';
$dbname = 'spbu_db'; // Change if your database name is different
$username = 'root'; // Default XAMPP username
$password = ''; // Default XAMPP password is empty
try {
$pdo = new PDO("mysql:host=$host;dbname=$dbname", $username, $password);
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
die("Database connection failed: " . $e->getMessage());
}
?>