There's probably a simple solution to this......
I'm writing a script that will leave a multilined textbox like the one im typing this into so users can leave a comment.... the script will write the contents of this box, with some other info into a flatfile database.... though I need all the information from one post to be on one line.. NOT go to the next line when the user goes to a new line in the text box....
So basically... what I need, is to convert all the line breaks the user made (whenever they hit enter)... to <BR> in the flatfile... or just something to keep everything on the same line.....
Any solutions?
I'm writing a script that will leave a multilined textbox like the one im typing this into so users can leave a comment.... the script will write the contents of this box, with some other info into a flatfile database.... though I need all the information from one post to be on one line.. NOT go to the next line when the user goes to a new line in the text box....
So basically... what I need, is to convert all the line breaks the user made (whenever they hit enter)... to <BR> in the flatfile... or just something to keep everything on the same line.....
Any solutions?