Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This assignment aims to demonstrate the ability to create a data-driven PHP page and to use superglobal arrays. Write a PHP script that lets the

This assignment aims to demonstrate the ability to create a data-driven PHP page and to use superglobal arrays. Write a PHP script that lets the user view, insert, and update student information as shown in Figure Below. Create a Student Class that holds the student information. The data are stored in a separate file called "data.in.php" as an association array in which the key is student ID and the value is the student object. At the beginning initialize the array with at least five student objects. - View: The user sends the student ID to the script, which returns an HTML form filled with the student's details, which are stored in the student array that has been initialized in the "data.in.php" file. - Insert: The user sends the student data to the script which instantiates a student object and inserts it into the student array; but making sure the student is not stored in the array. If the student stored return an error message to inform the user. - Update: The user sends the new student's information to the script which modifies the student information in the student array. Placement of Assignment Files - You must submit your files to CS Host. - In the "public_html" folder, create a sub-folder called assTwo, and then upload all the assignments files to it. - You must update your home page (index.htm) file by adding a link to assignment Two main page. - Also, you must compress (Zipped) all the assignment's Two files to a file named assTwo-stID.zip and submit them to ITC before the due date. You must submit your work before the due date which is on 04/01/2024 at 22:00 PM, by uploading it to the CS host and submitting it to the ITC,
image text in transcribed
image text in transcribed
This assignment aims to demenstrate the ability to create a data-driven PHP page and to use superglobal arrays. Write a PHP script that lets the user view, insert, and update student information as shown in Figure Below. Create a Student Class that hoids the student information. The data are stored in a separate file called "data in php" as an association array in which the key is student iD and the value is the student object. At the beginning initialige the array with at least the student objects. - View: The user sends the student iD to the script, which returns an HTML form filled with the student's details, which are stored in the student array that has been initialized in the "data in. php" file. - Insert: The user sends the student data to the script which instantiates a student object and inserts it into the student arrary; but making sure the student is not stored in the array. If the student stored return an error message to inform the user. - Update: The user sends the new student's information to the script which modifies the student information in the student array. Placement of Assignment Files - You must submit your files to CS Host. - In the "public. html" folder, create a sub-folder called assTwo, and then upload all the assignments files to it. - You must update your home page (index.htm) file by adding a link re ossignment Twe main nage. - Also, you must compress (Zipoed) all the assignment's Two files to a file named assTwo-stiD. zip and submit them to ftC before the due date. 1. You must submit your work before the due date which is on 0401/2024 at 22.00pM, by uploading it to the CS hast and subenitting it to the ITC, This assignment aims to demonstrate the ability to create a data-driven PHP page and to use superglobal arrays. Write a PHP script that lets the user view, insert, and update student information as shown in Figure Below. Create a Student Class that holds the student information. The data are stored in a separate file called "data in.php" as an association array in which the key is student ID and the value is the student object. At the beginning initialige the array with at least the student objects. - View: The user sends the student iD to the script, which returns an HTML form filled with the student's details, which are stored in the student array that has been initialized in the "data in. php" file. - Insert: The user sends the student data to the script which instantiates a student object and inserts it into the student array; but making sure the student is not stored in the array. If the student stored return an error message to inform the user. - Update: The user sends the new student's information to the script which modifies the student information in the student array. Placement of Assignment Files - You must submit your files to CS Host. - In the "public.. htmi" folder, create a sub-folder called assTwo, and then upload all the assignments files to it. - You must update your home page (index.htm) file by addfing a link re ossignmeat Twe moin nage. - Also, you must compress (Zipoed) all the assignment's Two files to a file named assTwo-stiD. zip and submit them to ItC before the due date. 1. You must submit your work before the due date which is on 0401/2024 at 22.00pM, by uploading it to the CS host and subenitting it to the ITC

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_2

Step: 3

blur-text-image_3

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

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

More Books

Students also viewed these Databases questions

Question

How would we like to see ourselves?

Answered: 1 week ago