CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.
how would i save submitted form data to a text file using HTML and PHP? please help
Have you tried researching? The best way to learn i think is by researching, try this,
post back if you still need help
you can also you
file_put_contents( FILE_NAME, CONTENT_TO_BE_ADDED_TO_FILE, FLAGS[optional] );
its just an easier way to do it.
This reply has been reported for inappropriate content.
I’ve found that file_put_contents is the best way. I seem to recall that it’s more efficient most of the time as well.
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed