Question: Write a program that check odd / even numbers (from number 1 to 100). Display the results within an HTML table with 2 columns: one

  1. Write a program that check odd / even numbers (from number 1 to 100). Display the results within an HTML table with 2 columns: one for odd number and one for even numbers. Write a program that check odd / even numbers (from number

NUMBERS RESULTS ODD EVEN ODD 2 HINT: use

tags to create a table,
tags for 'Numbers' and 'Results'. Wrap code PHP inside HTML code. For example: CHECK ODD or EVEN ?php echo "";
lOdd
2. Do the following steps in one .php file and try to manage the output to be clear to see: a. Create a dimensional associative array that has at least 8 key/element pairs and vardump(0 the arra vardump0 the new array modified array by use var dumpO function. HINT: unset(Sm b. Print out the array in a table with keys and values (like you do in question 1) c. Use assort0) function to sort the array in ascending order based on the value and d. Use unset) function to remove an element by key from the array then print the arrav/ key])

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 Databases Questions!