Grow your CSS skills. Land your dream job.

PHP Help?

  • # August 18, 2010 at 6:21 pm

    how would i save submitted form data to a text file using HTML and PHP? please help

    # August 18, 2010 at 7:02 pm

    Have you tried researching? The best way to learn i think is by researching, try this,
    http://www.w3schools.com/php/func_filesystem_fwrite.asp
    post back if you still need help

    # August 20, 2010 at 6:48 pm

    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.

    # August 22, 2010 at 8:40 pm

    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.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".