how to validate phone number in php procedural programming
<?php
if(isset($_POST['submit'])) {
//include validation class
//assign post data to variables
$name = trim($_POST['name']); // Storing username
$email = trim($_POST['email']); // Storing email address
$number= trim($_POST['number']); // storing the phone number
}
?>