PHP Programing language

adplus-dvertising
Write A program to create a multidimensional array for reference element
Previous Home Next
<html>
<head>
<title>multidimensional array in reference element</title>
</head>
<body>
<?php
  $emp_data = array (array (Name=>"harsh", Code=> "118", 
  Designasion=> "SEO"),
                    array (Name=>"Aditya", Code=> "110",
					Designasion=> "Associater"),
                    array (Name=>"Somaru", Code=> "111"
					, Designasion=> "SEO"),
                    array (Name=>"Mukund", Code=> "113",
					Designasion=> "Associater"),
  );
  echo $emp_data[0] [Designasion];
?>
</body>
</html>

Output:

Previous Home Next