echo beautifully in php code example Example: print beauty php print("<pre>".print_r($array_data,true)."</pre>");