get info out an array in a nice way php code example
Example 1: php array formatted output
print("<pre>".print_r($array_data,true)."</pre>");
Example 2: php echo array
$a = array ('a' => 'apple', 'b' => 'banana', 'c' => array ('x', 'y', 'z'));
print_r ($a);