diff --git a/milfs/funciones/funciones.php b/milfs/funciones/funciones.php index 63358d3..8643fb0 100644 --- a/milfs/funciones/funciones.php +++ b/milfs/funciones/funciones.php @@ -847,7 +847,7 @@ while( $row = mysqli_fetch_array( $sql ) ) { $contenido = " $contenido "; - }else{$contenido = $consulta;} + }else{$contenido = "";} return $contenido; @@ -5011,7 +5011,7 @@ if($timestamp != "") { // return $timestam; }else{ $consulta ="SELECT * FROM form_datos WHERE control = '$identificador' $w $w_timestamp -GROUP BY timestamp ORDER BY timestamp DESC "; +GROUP BY timestamp,id_campo ORDER BY timestamp DESC "; } $sql = mysqli_query($link,$consulta) or die("Error al ejecutar consulta 02 ");