Question: 1 : Make the following HTML Form, validate with PHP , and interact with MySQL database. 2 : Instructions Validate the form with by following
: Make the following HTML Form, validate with PHP and interact with MySQL database.
: Instructions
Validate the form with by following condition Use regular expression
a All input field is required. Display error massage with red color if empty
b The length of "Name" must be characters long. It should have a first name and last
name. It may have middle name as well optional Should not contain more than one
white space between two words. You have to make middle name optional.
c Must have a valid Email address.
d NID should follow the standard NID format.
e Use calendar for the date of birth option. Calculate age from date of birth for checking if
the user is an adult. If not, warn them and do not let them to sign up
f Mobile number should be a valid Bangladeshi number.
g If someone's NID and date of birth matches with the former entry of the database, it
should be redirected to this page
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
