1
0
forked from qwerty/milfs
This commit is contained in:
humano 2020-03-28 22:51:02 -05:00
parent 39ec69ab58
commit 7b74d8fab3

View File

@ -6241,7 +6241,7 @@ $limit =" LIMIT $registros_grid ";
if($campo_orden !="") {
$consulta_principal = " SELECT control,id,form_id,contenido FROM form_datos
WHERE form_id = '$form' AND id_campo ='$campo_orden' $limit
WHERE form_id = '$form' AND id_campo ='$campo_orden'
$filtro_proceso
GROUP BY form_datos.control
ORDER BY CAST(contenido AS SIGNED ) $orden $limit";
@ -6249,6 +6249,7 @@ $limit =" LIMIT $registros_grid ";
$consulta_principal = "SELECT control,id,form_id FROM form_datos
WHERE form_id = '$id_form' $filtro_proceso GROUP BY form_datos.control $ordenar $limit";
}
// return $consulta_principal;
$link=Conectarse();
mysqli_set_charset($link, "utf8");
mysqli_real_escape_string($link,$consulta_principal);