Re: comenzar con un buscador
| From: | Cristian S�nchez B. | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: comenzar con un buscador | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-14985@lists.php.net to get a copy of this message | ||
una consulta para encontrar algun texto dentro de otro puede ser:
select * from tabla where palabra like '%texto%'
(%texto es que contenga "texto" al final, texto% cualquier cosa que empieze
con "texto", %text% seria cualquier cosa que contenga "texto" entre medio).
Ojala esto te pueda ayduar.
Atte.
Cristian Sánchez B.
Analista de Sistemas
csanchez@colegiomayor.cl
csanchez@cecum.cl