Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Activity-Based ASSIGNMENT NO (1) Issue Date: Monday 22nd Feb 2021 Due date: Thursday 4* March 2021 (11:55pm) Working with PHP Arrays and HTML Forms and

image text in transcribed
Activity-Based ASSIGNMENT NO (1) Issue Date: Monday 22nd Feb 2021 Due date: Thursday 4* March 2021 (11:55pm) Working with PHP Arrays and HTML Forms and URLS Task (1) Create arrays for the following data and save them in the file arrays.php: (2 mark) a) Array name: $books bokid boktitle bokSubyrd boklevelid bokAuthorld bok Pubbiate 900 Computer 2011-03-20 2014-0230 100 b) Array name: $authors 1 for Zaid 2 for Jasim 3 for Dieter Golmann 4 for Alts for Moosa c) Array name: $levels 1 Introductory 112 Intermediary Advanced d) Array name: $subjects I for Information For Business X for MATEMATIGE Engineering Technology Studies Task (2) Create the page index.php in which you do the following (2 marks) Read the book titles and their levels and display them in HTML Table of links (URLs) as follows: List of Books - Total: 4 Books The data tokens for these links should be only the index aluc Book Title Hook Level 0.1 or 2) of each book from all arra file. The name of the index.php Coming Advanced 21 Add requested page of each URL should be bok.php. When the UCH user clicks on any URL then the form in question 2 below will 141 Decret structure be displayed with all the data of the selected book Task (3) Use all arrays to display the selected book data in HTML form inside table with default values as follows: (4 marks) Note the following when sending data to WB: 20W Editug book's Data: Computing Security a) The form method is post and the action script is save.php bokf.php b) Display the image of the selected book, title and Book Tempat its ID in the top of the page Book Sohje omicon Teng c) Send the index value of the book data from the Book Leddatory medias array as a hidden field Name Authen, L.2 Muti Deter lange Mate d) The invisible values for each of the subject. Il Sol Moon level, and authors should be its array index Publiling Dute Dug 22 Mar Rovember ( Yes 2015 e) The value of the day and month should be formatted as 2 digits with leading zero to the Save left. For the year, display last 10 years Task (4) Assume that the user made changes to the default data and then clicked the Save. Write PHP code for the action page save.php to process the form's data as follows: (2 marks) Thank you for Updating the following Book Data save.php Book ID: 900 Book Title Computing Security (1) Book Subjec: Engineering Level: Intermediary Name of Authors: (1) Manth (2) Salum Publishing Date: 2017-02-12 Activity-Based ASSIGNMENT NO (1) Issue Date: Monday 22nd Feb 2021 Due date: Thursday 4* March 2021 (11:55pm) Working with PHP Arrays and HTML Forms and URLS Task (1) Create arrays for the following data and save them in the file arrays.php: (2 mark) a) Array name: $books bokid boktitle bokSubyrd boklevelid bokAuthorld bok Pubbiate 900 Computer 2011-03-20 2014-0230 100 b) Array name: $authors 1 for Zaid 2 for Jasim 3 for Dieter Golmann 4 for Alts for Moosa c) Array name: $levels 1 Introductory 112 Intermediary Advanced d) Array name: $subjects I for Information For Business X for MATEMATIGE Engineering Technology Studies Task (2) Create the page index.php in which you do the following (2 marks) Read the book titles and their levels and display them in HTML Table of links (URLs) as follows: List of Books - Total: 4 Books The data tokens for these links should be only the index aluc Book Title Hook Level 0.1 or 2) of each book from all arra file. The name of the index.php Coming Advanced 21 Add requested page of each URL should be bok.php. When the UCH user clicks on any URL then the form in question 2 below will 141 Decret structure be displayed with all the data of the selected book Task (3) Use all arrays to display the selected book data in HTML form inside table with default values as follows: (4 marks) Note the following when sending data to WB: 20W Editug book's Data: Computing Security a) The form method is post and the action script is save.php bokf.php b) Display the image of the selected book, title and Book Tempat its ID in the top of the page Book Sohje omicon Teng c) Send the index value of the book data from the Book Leddatory medias array as a hidden field Name Authen, L.2 Muti Deter lange Mate d) The invisible values for each of the subject. Il Sol Moon level, and authors should be its array index Publiling Dute Dug 22 Mar Rovember ( Yes 2015 e) The value of the day and month should be formatted as 2 digits with leading zero to the Save left. For the year, display last 10 years Task (4) Assume that the user made changes to the default data and then clicked the Save. Write PHP code for the action page save.php to process the form's data as follows: (2 marks) Thank you for Updating the following Book Data save.php Book ID: 900 Book Title Computing Security (1) Book Subjec: Engineering Level: Intermediary Name of Authors: (1) Manth (2) Salum Publishing Date: 2017-02-12

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

Students also viewed these Databases questions