Question: QUESTION 3 [20 MARKS a) Write a PHP code by using an associative array to produce the output of $studentDetails as shown in Figure 3.
QUESTION 3 [20 MARKS a) Write a PHP code by using an associative array to produce the output of $studentDetails as shown in Figure 3. [12 Marks] StudentName=Mohammed, StudentID=4567 StudentName=Ahmed, StudentID=5678 StudentName=Ali, StudentID=3421 Figure 3: Sample Output of 3(a) b) Write a PHP code to sort the previous output according to the key (StudentName), so the output should be as shown in Figure 4. [3 Marks] StudentName=Ahmed, StudentID=5678 StudentName=Ali StudentID=3421 StudentName=Mohammed, StudentID=4567 Figure Sample Chutput of by
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
