Question
Task 2 Read the data in paintings.txt and artists.txt into PHP arrays. Integrate the array data and the painting images into index.php such that all
Task 2 Read the data in paintings.txt and artists.txt into PHP arrays. Integrate the array data and the painting images into index.php such that all paintings are displayed. index.php needs hyperlinks to display singlePainting.php that contains the information on each painting. The title of the paintings (e.g. The Actor, Family of Saltimbanques, Portrait of Dora Maar etc.) will be a link to the page (singlePainting.php) with the painting id as a query string parameter. index.php also needs hyperlinks to display singleArtist.php that contains the information on each artist. The name of the artists (e.g. Picasso, Matisse, David etc.) will be a link to the page (singleArtist.php) with the artist id as a query string parameter. index.php needs to contain navigation to display the paintings according to Genre. Genres (e.g. Art Nouveau, Cubism, Fauvism etc.), in the left navigation, will be a link to the same page (index.php) but with the genre name as a query string parameter. index.php also needs navigation to display singleArtist.php that contains the information on individual artist. Artists (e.g. Picasso, Matisse, David etc.), in the left navigation, will be a link to the page (singleArtist.php) with the artist id as a query string parameter.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started