orden en parallax

This commit is contained in:
humano 2018-11-16 08:21:05 -05:00
parent 45348b174e
commit 9961650c0e

View File

@ -12629,7 +12629,7 @@ $campo_titulo = $campo_titulo[0];
if($campo_orden[0] !="") { if($campo_orden[0] !="") {
$consulta = " $consulta = "
SELECT control as identificador,id,form_id,contenido FROM form_datos SELECT control as identificador,id,form_id,contenido FROM form_datos
WHERE form_id = '$id' AND id_campo ='$campo_orden' WHERE form_id = '$id' AND id_campo ='$campo_orden[0]'
GROUP BY form_datos.control GROUP BY form_datos.control
ORDER BY CAST(contenido AS SIGNED ) $orden "; ORDER BY CAST(contenido AS SIGNED ) $orden ";
}else { }else {
@ -12719,6 +12719,7 @@ while( $row = mysqli_fetch_array( $sql ) ) {
"; ";
} }
else{ $contenido ="";}
return " $contenido"; return " $contenido";
// $respuesta->addAssign("$div","innerHTML","$contenido"); // $respuesta->addAssign("$div","innerHTML","$contenido");