updates db.php

This commit is contained in:
ssbg04 committed 2026-04-24 12:30:03 +08:00
1 parent 8c33e226d4
commit d0fb7564f3
1 file changed
+8 -4
+8 -4
View File
@@ -1,9 +1,13 @@
<?php <?php
// db.php // db.php
$host = 'localhost'; // $host = 'localhost';
$db_name = 'icis'; // Change this to your database name // $db_name = 'icis'; // Change this to your database name
$username = 'root'; // Change if your DB user is different // $username = 'root'; // Change if your DB user is different
$password = ''; // Change if your DB has a password // $password = ''; // Change if your DB has a password
$host = 'sql.freedb.tech';
$db_name = 'freedb_icis-inventory'; // Change this to your database name
$username = 'freedb_kristyarls'; // Change if your DB user is different
$password = 'Wwh7Du4?MJ8wKg!'; // Change if your DB has a password
try { try {
$pdo = new PDO("mysql:host=$host;dbname=$db_name", $username, $password); $pdo = new PDO("mysql:host=$host;dbname=$db_name", $username, $password);