Log in

View Full Version : Resolved Input form to text file in a specific format-Is this possible?



solocky
04-17-2009, 10:29 AM
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

solocky
04-17-2009, 10:31 AM
the format need to be that way cause its for a playlist
incase anyone was wondering

ciao

solocky

solocky
04-17-2009, 10:39 AM
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

solocky
04-17-2009, 01:27 PM
i got it done
Thanks to anyone who might have helped

ciao
solocky