so, i am trying to add some code to the PHP script that will validate that the entered string is good... and, if good... proceed, but if bad... print out an error with instructions.
so far, i am using strlen to make sure that it is indeed 10 characters long.
next, i am not sure how to proceed. preg_match is a good way to check for characters, but it doesn't seem very good to have a preg_match line for every conceivable character other than numbers.
is there a string search function that says simply checks if the characters within are numeric?
-wade
_______________________________________________ newbies mailing list [EMAIL PROTECTED] http://phantom.byu.edu/cgi-bin/mailman/listinfo/newbies
