mejoras en index

This commit is contained in:
humano 2018-04-02 13:20:08 -05:00
parent 5f9e780d06
commit 8b00b57056

View File

@ -11473,7 +11473,7 @@ $div = "contenedor";
$campo_titulo = remplacetas('form_parametrizacion','campo',$id,'descripcion'," tabla='form_id' and opcion = 'titulo'") ;
if($campo_titulo[0] !='') {$w_campo = "AND id_campo = '$campo_titulo[0]'";}
$campo_titulo = $campo_titulo[0];
$consulta ="SELECT *, control as identificador FROM form_datos WHERE form_id = '$id' $w_campo GROUP BY control order by id DESC ";
$consulta ="SELECT *, control as identificador FROM form_datos WHERE form_id = '$id' $w_campo GROUP BY control order by id DESC limit 20 ";
$link=Conectarse();
$sql=mysqli_query($link,$consulta);
if (mysqli_num_rows($sql)!='0'){