![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
24/04/2012, 17:43
|
![Avatar de Triby](http://static.forosdelweb.com/customavatars/avatar253769_17.gif) | Mod on free time | | Fecha de Ingreso: agosto-2008 Ubicación: $MX->Gto['León'];
Mensajes: 10.106
Antigüedad: 16 años, 6 meses Puntos: 2237 | |
Respuesta: no intruducir numeros ni parametros raros en input Podrías usar alguna de las secuencias para unicode: http://php.net/manual/en/regexp.reference.unicode.php
Ejemplo: preg_match("/\p{L}+$/", $nombre) debería funcionar para comparación alfabética, incluyendo tildes. |