<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>
|