Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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
}
?>
Source by blog.udemy.com #
 
PREVIOUS NEXT
Tagged: #validate #phone #number #php #procedural #programming
ADD COMMENT
Topic
Name
3+8 =