limite de 100 notas

This commit is contained in:
humano 2017-12-02 20:38:07 -05:00
parent 59beeed83c
commit 499ee05fbf

View File

@ -895,7 +895,7 @@ if($accion =="") {
//$color='blue'; //$color='blue';
$consulta = "SELECT * FROM form_datos WHERE form_id = '$id' AND control ='$registro' Limit 1"; $consulta = "SELECT * FROM form_datos WHERE form_id = '$id' AND control ='$registro' Limit 1";
}else { }else {
$consulta = "SELECT * FROM form_datos WHERE form_id = '$id' GROUP BY control ORDER BY id desc limit 10 "; $consulta = "SELECT * FROM form_datos WHERE form_id = '$id' GROUP BY control ORDER BY id desc limit 100 ";
} }
// return $consulta; // return $consulta;
$link=Conectarse(); $link=Conectarse();