<?php
$db = new PDO('sqlite:climate.db');
$db->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);

echo "=== All Variables ===\n";
$stmt = $db->query("SELECT * FROM variables");
print_r($stmt->fetchAll());
