Save data to text file in php?

shaky

New member
How would I make php script that would save all the information in a form to a text file on the server in directory? For example, I would have a form on a html page with a field called 'comment'. When the form is submitted the php script will save the contents of 'report' as report1.txt and the next one would be report2.txt and so on.
 
Back
Top