Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 : Make the following HTML Form, validate with PHP , and interact with MySQL database. 2 : Instructions Validate the form with by following

1: Make the following HTML Form, validate with PHP, and interact with MySQL database.
2: 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 4-25 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-
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions