SyntaxFix
Write A Post
Hire A Developer
Questions
Below Should work nice and more readable using <pre>
<pre>
<?php ob_start(); echo '<pre>'; print_r($array); $outputBuffer = ob_get_contents(); ob_end_flush(); file_put_contents('your file name', $outputBuffer); ?>