use 2 different files.
an html file for the form
and a php file to validate each entry.
validName( checks to see that a string is all alphabeticvalidAge( checks to see that an age is numeric and between 18 and 118validPhone() checks to see that a phone number is valid validEmail( checks to see that an email address is valid)
validName( checks to see that a string is all alphabetic
validAge( checks to see that an age is numeric and between 18 and 118
validPhone() checks to see that a phone number is valid
validEmail( checks to see that an email address is valid)
respect the styling the form has to look exactly like the picture.
Personal Information First Name Note: All Information entered is protected by our privacy policy. Profile information can only be viewed by others with your permission Last Name Age Gender Male Female Non-binary Phone Number Next
use 2 different files. an html file for the form and a php file to validate each entry. validName( checks to see that a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am