From 7b74d8fab33eb34c01403331308c4a57a23a185c Mon Sep 17 00:00:00 2001 From: humano Date: Sat, 28 Mar 2020 22:51:02 -0500 Subject: [PATCH] debug --- funciones/funciones.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/funciones/funciones.php b/funciones/funciones.php index 92c13d4..14e617f 100644 --- a/funciones/funciones.php +++ b/funciones/funciones.php @@ -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);