print_r: output associate array : print_r « Development « PHP






print_r: output associate array

<?php
$states = array (
"Ohio" => array ("population" => "11,353,140", capital => "Columbus"),
"Nebraska" => array("population" => "1,711,263", capital => "Omaha")
)

print_r($states);

?>


           
       








Related examples in the same category

1.print_r for array
2.print_r a class