Ver Mensaje Individual
  #4 (permalink)  
Antiguo 05/09/2011, 13:02
thehack
 
Fecha de Ingreso: abril-2010
Mensajes: 151
Antigüedad: 14 años
Puntos: 1
Respuesta: Buscador php ajax

ok coloque asi pero no me busca lod resultados cuando coloco un segundo numero en el buscador

Código PHP:
Ver original
  1. $sqlStr = $this->ejecutarConsulta("SELECT
  2. *
  3. FROM
  4. datos_madre AS m
  5. JOIN datos_padre AS p ON p.dp_id_folio = m.d_id_folio
  6. WHERE m.d_cedula_madre LIKE '%$q%'
  7. AND p.dp_cedula_padre  LIKE '%$q%'")or die(mysql_error()) ;