Question: Step 1 : Create a new PHP document. Step 2 : In the PHP document add the following code: Create a GET method Create a
Step :
Create a new PHP document.
Step :
In the PHP document add the following code:
Create a GET method
Create a POST method
Create Radio Buttons
Create checkboxes
Create a Loop that processes an Array screenshot the message displayed in the browser
Create a Dropdown List
Create a List Box that allows multiple selections
Create a Text Area Box
Create an Echo Statement with at least variables
Create a Print Statement with at least variables
Create a Switch Statement
Create a While Loop finding the average of random numbers
Create a Nested While Loop that gets the average and minimum rolls for the number
Create a Dowhile loop that finds the min and max of random values from
For example, create one document that demonstrates each item above like this:
This is an example of GET Method
echo "Study $GETsubject at $GETweb
This is an example of POST Method
if$SERVERREQUESTMETHOD"POST
collect value of input field
$name $POSTfname;
ifempty$name
echoName is empty";
else
echo$name;
Step :
After you have completed adding all the required code above, save the files as "yourName"labphp
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
