Results 1 to 4 of 4

Thread: Input form to text file in a specific format-Is this possible?

  1. #1
    Join Date
    Apr 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Input form to text file in a specific format-Is this possible?

    hello all
    i am trying to create a php form with an input field.i would need the output of this script to be written to a text file as such in this forma

    type=
    name=----------------------------------------------------------------------------------------------
    #
    type=
    name=(USER INPUT HERE)
    #
    type=
    name=----------------------------------------------------------------------------------------------
    #

    the form itself would only have a "SUBMIT" button to the left of a field where the user should place his or her entry.
    yet what should be written to the file is exactly what ive shown above with (USER INPUT) being the exact input of the said user.

    Can some one point me in the right direction im going through all the tutorials i can at the moment and might find a solution before anyone here can help.
    But there is no harm in asking .
    ciao folk

    solocky
    Last edited by Snookerman; 05-09-2009 at 05:47 PM. Reason: added “Resolved” prefix

  2. #2
    Join Date
    Apr 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    the format need to be that way cause its for a playlist
    incase anyone was wondering

    ciao

    solocky

  3. #3
    Join Date
    Apr 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    oh yeah the data would always append to the end of the text file not overwrite anything

    sounds like im asking for the world in a handbag

    :-)

    solocky

  4. #4
    Join Date
    Apr 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Solved

    i got it done
    Thanks to anyone who might have helped

    ciao
    solocky

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •