Attendance-list/db.php

7 lines
168 B
PHP
Raw Normal View History

2023-08-18 14:00:24 +00:00
<?php
require_once('config.php');
$pdo = new PDO('mysql:host='.$host.';dbname='.$db.';charset=utf8',$dbUser,$dbPassword);
if(!$pdo) {
die('Could not connect');
}
?>