query("SELECT * FROM navbar ORDER BY id"); $navbarItems = []; while ($row = $navbarQuery->fetchArray(SQLITE3_ASSOC)) { $navbarItems[] = $row; } echo ''; } ?>