Rejoint le club et réalise cette page web
(oui j’ai la flemme)
format(DateTime::ATOM); $stmt = $db->prepare(« SELECT timestamp, temperature FROM temperature WHERE timestamp >= :since ORDER BY timestamp ASC »); $stmt->bindParam(‘:since’, $since); $stmt->execute(); $data = $stmt->fetchAll(PDO::FETCH_ASSOC); } catch (PDOException $e) { // Handle error as needed } ?>