I have data stored in a text file. I like certain data o be stored all on one line. So when someone enters something into a text box and uses multiple lines, i want the lines to come together onto one line when i enter them into the text file. So i change the \n character to something else. Then when i pull the data from the file i want to change it back to multiple lines. For instance:
See jack NEW_LINE run
when i pull it from the file i want it to be outputed as
See jack run
but for some reason it aint working when i use:
ereg_replace("NEW_LINE", "\n", $string);
any ideas?