Question: PHP has three different types of array. One of those is the associative array, which stores data in the form of key-value pairs. Use an
PHP has three different types of array. One of those is the associative array, which stores data in the form of key-value pairs. Use an associative array to implement the following. 1. Store the names and marks of ten subjects in an associative array. 2. Use the for-each loop to display subject name and subject marks with an appropriate message.
must use associative array to store the information and use for each loop to display the stores information.
Kind requests:
1: Please answer it in 4 or 5 hours.
2: do exactly what is asked in question.
Thank you in advance.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
