Correccion en API simple

This commit is contained in:
fredyrivera 2017-10-14 16:25:49 -05:00
parent 57a65577df
commit a4826192dc

View File

@ -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 ");