Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Register: When the user clicks the register link, the request will be sent to the register.php script. The script is a self - reference

Register: When the user clicks the register link, the request will be sent to the "register.php"
script. The script is a self-reference script, if no data has been sent, a form is generated as
shown in Figure 3, otherwise, the data is retrieved from the form and then stored in the
database. The form's method attribute should be set to POST and action to "register.php".
The student photo should be uploaded to a folder called "images", only accept an image of
type "jpeg", and rename it to be the same as the student ID. For instance, if you have a
student with an ID is '11213568', the file name should be '11213568.jpeg'. Also, you can save
the file name in the database.
-Student Recond:
Souden ID:
Soudent Name.
Gender:
Male
Femak
Dale of Birth da/an/FYYy
Departmenk:
Average:
Address:
City
Country:
The 059-4356788
email
Student Fhowoc
No file choeen
Figure 3: Student Registratbn Page
Delete () when clicked a get request with the student ID sent to the "delete.php" script.
which deletes the student record from the database. Also, you need to combine the query
string with anchor tags as discussed in the View action above.
Edit (??) allows an applicant to update the information present in the database when
clicking a get request with the student ID sent to the "edit.php" script. Also, you need to
combine the query string with anchor tags as discussed in the View action above. The edit
script returns an HTML page with a form filled with the student's details, which are
retrieved from the database, all the records are editable except the Student ID. Then the
user sends the new student's information to the "edit.php" script which updates the
student's information in the database. The page generated by the "edit.php" script is the
same as shown in Figure 3 except change the button title to update and the form action
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

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions