Creacion de buscador de formularios para MILFS

This commit is contained in:
fredyrivera 2017-09-26 13:30:40 -05:00
parent bfba3b87bb
commit ef4a907077

View File

@ -11922,7 +11922,7 @@ $_SESSION['grupo_formularios'] = $filtro_grupo;
$link=Conectarse(); $link=Conectarse();
$id=mysqli_real_escape_string($link,'$id'); $id=mysqli_real_escape_string($link,'$id');
mysqli_set_charset($link, "utf8"); mysqli_set_charset($link, "utf8");
if($id_form !="") { $w_id ="AND form_id.id ='$id_form' OR form_id.nombre LIKE '%%$id_form%%' "; $mostrar_panel ="in";}else{ $w_id="";} if($id_form !="") { $w_id ="AND form_id.nombre LIKE '%%$id_form%%' "; $mostrar_panel ="in";}else{ $w_id="";}
if($filtro_grupo =="") { if($filtro_grupo =="") {
$consulta = "SELECT * FROM form_id WHERE id_empresa ='$_SESSION[id_empresa]' $w_id ORDER BY orden ASC"; $consulta = "SELECT * FROM form_id WHERE id_empresa ='$_SESSION[id_empresa]' $w_id ORDER BY orden ASC";
} }