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.
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.