How to validate if Textfield entered is a mobile number using php and SQL DB
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3090862/how-to-validate-phone-number-using-php">How to validate phone number using PHP?</a>  </p>
</blockquote>



<p>can anyone please help me know how to validate if the field value entered is a phone number using php...
I have used a variable $phone , datatype =varchar 10 in sql db
Now i want to validate that users enter only numbers in that field..</p>
