Source Code:
(back to article)
<?php file_put_contents("example.txt", "This is new data", FILE_APPEND); $contents = file_get_contents("example.txt"); echo $contents;
Result:
Report an issue