Posted by Zvonko BiΉkup on 03/19/07 09:57
Hi!
I need to validate a text field in a form (you can enter only text and no
spaces).
But I have a iso-8859-2 character set and Croatian letters don't pass
validation.
Here is a piece of code:
$result = ereg ("^[A-Za-z0-9]+$", $input);
Any help appreciated.
Zvonko
Bok!
Navigation:
[Reply to this message]
|