<?php
require_once 'config.php';
try {
    $pdo->exec("UPDATE mediciones SET temp7 = 5.2, temp8 = 12.5, temp9 = 4.8, temp10 = -2.1 ORDER BY fecha DESC LIMIT 10");
    echo "Database seeded successfully.";
} catch (PDOException $e) {
    echo "Error: " . $e->getMessage();
}
?>