1
0
forked from qwerty/milfs

correcion en campo buscador que solo consideraba el inicio del parrafo

This commit is contained in:
humano 2020-04-10 18:42:04 -05:00
parent 9ec3b5609b
commit 4d0ed8511e

View File

@ -11893,7 +11893,7 @@ if($valor !="") {
}
//$consulta_paginacion = "SELECT control FROM form_datos WHERE contenido LIKE '%%$valor%%' and form_id ='$formulario' and ( id_campo ='$key' OR id_campo = '$descripcion' ) GROUP BY control ";
//$consulta = "SELECT contenido, control FROM form_datos WHERE form_id ='$formulario' and (id_campo ='$key' OR id_campo ='$descripcion' )AND contenido like '%%$valor%%' GROUP BY control limit 15 ";
$consulta = "SELECT contenido, control ,id_campo FROM form_datos WHERE contenido LIKE '$valor%%' and form_id ='$formulario' and ( id_campo ='$key' OR id_campo = '$descripcion' ) GROUP BY control limit $limite ";
$consulta = "SELECT contenido, control ,id_campo FROM form_datos WHERE contenido LIKE '%%$valor%%' and form_id ='$formulario' and ( id_campo ='$key' OR id_campo = '$descripcion' ) GROUP BY control limit $limite ";
$sql=mysqli_query($link,$consulta);
//$sql_paginacion=mysqli_query($link,$consulta_paginacion);