correcion en campo buscador que solo consideraba el inicio del parrafo
This commit is contained in:
parent
9ec3b5609b
commit
4d0ed8511e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user