Arrays Using Associative Array Notation : Associative Array : Data Structure PHP Source Code


PHP Source Code » Data Structure » Associative Array »

 

Arrays Using Associative Array Notation



<html>
<head>
     <title>Associative Array Notation</title>
</head>
<body>
<?php
     $cars = array(
         "1"       => array ("A""B""C"),
         "2"      => array ("D""E""F""G"),
         "3"    => array ("H""I")
     );
     ob_start();
     var_dump($cars);
     $cars_var_dump = ob_get_contents();
     ob_end_clean();
   
     print("<pre>" . $cars_var_dump . "</pre>");
?>
</body>
</html>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Data Structure
» Associative Array