title: Number Validate in Text Box in PHP
body: <p>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 and that too live that means while entering number it won't allow user to add any alphabets or special symbols)</p>
  
  <p>The data is sent to a page (validate.php) via a forms POST method.</p>
  
  <p>I want a function that will only accept 10 numbers one after another, no letters or characters.</p>