diff --git a/eltiempo/servidor/api-weather-fechas.php b/eltiempo/servidor/api-weather-fechas.php index 1e60bd1..d99d7c6 100644 --- a/eltiempo/servidor/api-weather-fechas.php +++ b/eltiempo/servidor/api-weather-fechas.php @@ -114,6 +114,8 @@ $sql .= " ORDER BY DATE(fecha); "; +console.log("SQL: $sql"); +console.log("Params: " . implode(", ", $params) . "\n"); // ============================ // 6. PREPARAR Y EJECUTAR // ============================