I need to validate the value of a text box. The text box is for the customers phone number in the format 0123456789 (ie 10 numbers only)
The data is sent to a page (validate.php) via a forms POST method.
I want a function that will ONLY accept 10 numbers one after another, no letters or characters.
Thanks in advance.