PHP lesson 6 – Arrays and objects ( Display single item or all items )

This lesson will teach you :

1- How to write an array
2- How to display data from array (single – All)
3- How to convert array to an object
4- how to display object items
5- using shuffle() function
6- using foreach() loop

source