php print formatted array code example
Example 1: php array formatted output
print("<pre>".print_r($array_data,true)."</pre>");
Example 2: php print array nice format
print "<pre>";
print_r($data);
print "</pre>";
print("<pre>".print_r($array_data,true)."</pre>");
print "<pre>";
print_r($data);
print "</pre>";