Basic PHP Programming Tutorial 20: Saving to a File / writing and appending
Link to the full playlist:
http://www.youtube.com/playlist?list=PLQVvvaa0QuDcYpcjrNB43_iKqla5UeQw_
Sentdex.com
Facebook.com/sentdex
Twitter.com/sentdex
The basics of writing to a file in PHP