<?php
$db_host = 'localhost';
$db_name = 'transubd_PointageBus';
$db_user = 'transubd_transub_user';
$db_pass = 'Tr@nsub2@24';

$conn = new PDO("mysql:host=$db_host;dbname=$db_name", $db_user, $db_pass);
$stmt = $conn->query("SELECT COUNT(*) as cnt FROM buses");
$row = $stmt->fetch(PDO::FETCH_ASSOC);
echo "Buses: " . $row['cnt'];
