The array() function is used to create php array as follows -Â
$the_cars = array("Suzuki", "Bmw", "Toyota");
To access array data we write it in the following way -Â
echo " I like " . $cars[0] ;
Â
There are 3 types of arrays - Indexed arrays, Associative arrays,Â
Multidimensional arrays. google it to learn more about php arrays.
This was small tip to get a good idea about important php array, hope you liked it.Â
I provide services on php, wordpress, joomla, codeigniter. If you needÂ
experts then hire me here - https://www.fiverr.com/share/0XozLÂ