Course Solutions Uncategorized (Solved) : Form Need Make Validation Functions Phone Like Xxx Xxx Xxxx Gpa Numeric Value 00 40 Inc Q38188182 . . . .

(Solved) : Form Need Make Validation Functions Phone Like Xxx Xxx Xxxx Gpa Numeric Value 00 40 Inc Q38188182 . . . .

 

<?php
  
// define variables and set to empty values
$gpaErr = $phoneErr = $genderErr = $majorErr = $hobbyErr =$commentErr = “”;
$gpa = $phone = $gender = $major = $hobby = $comment = “”;
  
if ($_SERVER[“REQUEST_METHOD”] == “POST”) {
$Name = $_POST [‘Name’];
$gpa = $_POST [‘gpa’];
$phone = $_POST [ ‘phone’];
$gender = $_POST [‘gender’];
$major = $_POST [ ‘major’];
$comment = $_POST [‘comment’];

print “<h2>Thank you for taking this survy$Name!</h2><br><br><br>”;
print “Your gender is $gender, and you stdying $major<br><br>”;
print “Your GPA is : $gpa <br><br>”;
print ” Phone number : $phone <br><br>”;
print ” $comment “;
}
?>

………….……………………………………

In this form, I need to make a validation functions on:

– $phone ( should be like this

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Answered) : Please Show Work Really Understand Problem Thing Know Form Practice Questions Form Answer Q28525409(Answered) : Please Show Work Really Understand Problem Thing Know Form Practice Questions Form Answer Q28525409

<p><img alt="Determine the equation of the given conic in XY-coordinates when the coordinate axes are rotated through the indicated angle. y = (x-1)2, ? = 45°" src="https://d2vlcm61l7u1fs.cloudfront.net/media%2Ffde%2Ffde0be87-1274-4a30-b919-78d2963be9b0%2FphpcfFwkW.png" style="height:123px;width:1024px;" aria-describedby="j1t"/></p><p>Please show

(Answered) : The Lincoln Company, Inc., produces special vacuum cleaners for conveniently cleaning the inside of cars. About a thousand of th(Answered) : The Lincoln Company, Inc., produces special vacuum cleaners for conveniently cleaning the inside of cars. About a thousand of th

The Lincoln Company, Inc., produces special vacuum cleaners for conveniently cleaning the inside of cars. About a thousand of these vacuum cleaners, with stamped serial numbers, are produced every month