Question: Consider an array of arrays called $cart that is defined as follows: $cart = array array ( ' itemCode ' = > 1 2 3

Consider an array of arrays called $cart that is defined as follows:
$cart = array
array('itemCode'=>123, 'itemName' =>
'Visual Basic'),
array ('itemCode'=>456, 'itemName' =>'Java')
;
What will be value of $cart [1]['itemName']?
123
456.
Visual Basic
Java
 Consider an array of arrays called $cart that is defined as

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!