Page 1 of 1

PHP function needed

Posted: Sun Sep 26, 2010 5:05 am
by tonchily
I need a function that checks if there's a character in the given string. Or better yet, how can I specify that my text field must consist of A-Z, a-z, 0-9 and "-" only or rather the script would die?

Thanks.

Re: PHP function needed

Posted: Sun Sep 26, 2010 5:14 am
by Weirdan