Using PHP to write query string values to a .txt file and save : <p>I am able to take the values from a URL's query string and store them in some variables, however I would also like to print or write these values to a single line in a .txt document, and save that document in a given directory on the server.</p>

<p>Each time the page is loaded with a new query string, a new line will be added to that .txt file with the string values, and the file re-saved.</p>

<p>Can this be done? Struggling to find answers to this in my searches.</p>

<p>Many thanks in advance.</p>
