25. Writing To A File
In the previous tutorial we looked at the file_get_contents function which allowed us to read the contents of a file. This tutorial looks at the file_put_contents function which will allow us to easily put data into a file. We will also look how to overwrite the data and append the data.