Question: Problem E: /* Task: Finish the portion inside curly brace to split $array5 into two sequential arrays: one called $name has values of last names,

Problem E: /* Task: Finish the portion inside curly brace to split $array5 into two sequential arrays: one called $name has values of last names, and the other called $score has scores. In other words, the result should be the same as the following 2 statements. $student = array(Grisham,Howard,Stolze,Glass); $score = array(95, 85, 75, 65); */

$array5 = array(Grisham=>95, Howard=>85,Stolz=> 75, Glass=>65);

$student = array();

$score = array();

foreach($array5 as $i =>$v)

{

}

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!