Created
December 31, 2019 08:34
-
-
Save jack2jm/f891c126fde7ed6f817cdf20fb56fe22 to your computer and use it in GitHub Desktop.
This file contains 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
********* | |
Open file path | |
-------------------- | |
$myfile = fopen("data/finalized-ids.txt", "a+") or die("Unable to open file!"); | |
Write something into file | |
-------------- | |
fwrite($myfile, "event_ids,". PHP_EOL); | |
Close file | |
------------------- | |
fclose($myfile); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment