Hello everyone,
I'm trying to validate form fields, and I want to allow the user to insert any of the spanish caracters like áéíóúñ single cuotes and spaces. I´m using this:
ereg('[a-zA-Záéíóúñ \']+$',$NOMBRES)
But it doesn't seem to be working for the áéíóúñ the rest works fine.
Any ideas?
Regards
Guillermo