Question: SECTIONA 1 . 1 Briefly describe the difference between the POST and GET methods. Include an example of the implementation for each method. [ 5

SECTIONA
1.1 Briefly describe the difference between the POST and GET methods. Include an
example of the implementation for each method.[5]
1.21.2 Briefly describe the difference between a SESSION and COOKIES, you may
include an example in your answer.[5]
1.3 Write a simple PHP program that verifies whether the cookies have been set or
not.[5]
1.4 List 6 super global variables used in PHP [5]
SECTIONB
Question 2(30 MARKS)
Create a PHP-based fruit survey form that includes server-side validation. The form
should collect the user's name, address, email, the number of pieces of fruit they eat
daily, and their favourite fruit (from given options). Additionally, provide an option for
the user to request a brochure. Provide the full HTML, PHP, and CSS code for the form.
Figure 2.1
(1) RICHFIELD
Richfield Survey
SECTIONA 1 . 1 Briefly describe the difference

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!