PHP - Multidimensional Array

A multidimensional array,each element in the main array can also be an array.and each element in the sub-array can be an array,and so this example we create a multidimensional array,with automatically assigned ID keys.



				"Lenovo"=>array("Leptop","Mobile Phones"),
				"Microsoft"=>array("Leptop","Mobile Phones"),
Share Share on Facebook Share on Twitter Share on Google+ Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit