advanced code snippet search
gregdaynes on 11/30/10
11/30/10 05:59am
Print array/object to file
$output = print_r($array, true);$fp = fopen("/path/to/textfile.txt", "w");fwrite($fp, $output);fclose($fp);
Report this snippet Tweet
Comment:
You need to login to post a comment.