Skip to content
Advertisement

i run this code but it donot type the array

JavaScript

Advertisement

Answer

Since you have student detail array in $studentArray, you need an extra foreach to loop through inner array.

Try below code in your structure.

JavaScript

For more better understanding, have a try with below code.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement