php print_r pretty code example
Example 1: print beauty php
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>";