<html> <head> <title>Testing the print_r() Function</title> </head> <body> <div> <?php $characters = array ( array ( "name"=> "bob", "occupation" => "A", ), array ( "name" => "sally", "occupation" => "B", ) ); print_r( $characters); ?> </div> </body> </html>