Created
August 30, 2017 10:20
-
-
Save Bizunow/bc3ac99e7d846677fb09045dc7354bc5 to your computer and use it in GitHub Desktop.
[PHP fwrite example] #php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$myfile = fopen("newfile.txt", "w") or die("Unable to open file!"); | |
fwrite($myfile, print_r($data, true)); | |
fclose($myfile); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment