Question
You have been provided with two files: the data entry form (Chapter12-project1.php) and the page that will process the form data (art-process.php). Examine both in
You have been provided with two files: the data entry form (Chapter12-project1.php) and the page that will process the form data (art-process.php). Examine both in the browser.
Modify Chapter12-project1.php so that it uses the POST method and specify art-process.php as the form action.
Define two string arrays, one containing the genres Abstract, Baroque, Gothic, and Renaissance, and the other containing the subjects Animals, Landscape, and People.
Write a function that is passed a string array and which returns a string containing each array element within an
Modify art-process.php so that it displays the all the values that were entered into the form, as shown in Figure 12.15 . This will require using the appropriate superglobal array.
Chapter 12-project 1 PHP FILE
?>
ART PHP FILE
?>
Title | |
Description | |
Genre | |
Subject | |
Medium | |
Year | |
Museum |
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