<h1>Categories</h1>
<?php
$cats = $pdo->query("SELECT DISTINCT category FROM packages")->fetchAll(PDO::FETCH_COLUMN);
foreach($cats as $c) echo "<span class='badge bg-success m-1'>$c</span> ";
echo "<br><br>Note: Categories are auto-created from packages. Just type a new category name when adding a package!";
?>