Hey all...
Quick one.. I've setup a textarea for a user to enter quite a lot of text. That text is sent to my database and stored.. In the database it remains in its formatted state with like newlines and return.
I have a select statement to get the data out and echo it into a html document that can be printed. My problem is that when its echo'd at this point it is no longer in its formatted state.. All just one big chuck of text without new lines. What is easiest and efficient way of adding newlines into the text so its formatted and easier to read??
Cheers lads..
Text formatting
Moderator: General Moderators
Re: Text formatting
Ah yeah, exactly... couldnt find that one, but cheers, works perfectly...