Add files via upload

This commit is contained in:
ssbg04 authored and GitHub committed 2025-06-23 21:41:03 +08:00
1 parent cf2a17298d
commit 54c527b036
65 files changed
+13328

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
<?php
$host = 'localhost';
$dbname = 'unimarket';
$username = 'root';
$password = '';
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());
}
?>