Write text into a text file with PHP
Database is to store data for future use, however we could also store string in a text file for future use. The way to do this is very simple, all we have to do is to use the PHP function fwrite() to write the string into the text file. I have created an example here to demonstrate how to do so.




