welcome to tutorialfamily

php multidimensional array

PHP Multidimensional Arrays – used to create sub-array in array.


PHP Multidimensional Arrays

We can create sub-array in array.


PHP Multidimensional Arrays



<!DOCTYPE html>
<html>
<head>
	<title>PHP Multidimensional Arrays</title>
</head>
<body>
// PHP Multidimensional Arrays<br>
<?php
	
$car=array
			(
				"BMW"=>array("2020","Red color"),
				"Toyota"=>array("2019","White color"),
				
			);
?>	<br>
			
</body>
</html>

Our Content