print_r: output associate array : Associative Array : Data Structure PHP Source Code


PHP Source Code » Data Structure » Associative Array »

 

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

?>


           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo Data Structure
» Associative Array