<?php
require_once 'config/db.php';
$res = $conn->query("SELECT * FROM user_templates");
while($row = $res->fetch_assoc()) {
    print_r($row);
}
echo "----\n";
$res2 = $conn->query("SELECT * FROM message_logs ORDER BY created_at DESC LIMIT 5");
while($row = $res2->fetch_assoc()) {
    print_r($row);
}
