November 15th, 1999, 07:26 PM
Well I know that I can use <pre> and </pre> to recognize the line breaks from a MySQL output. But that also prints the " " before the " ' ". So the way I see it, there are two ways of fixing this.
1) Stripping the slashes from it somehow.
2) Using some array that was named something like "n2br". But I can't remember anymore.
So your help would be very appreciated.
November 16th, 1999, 01:43 PM
You didn't mention what interface you're using.
If it's PHP, there is a function called stripslashes() that will remove the escaped backslashes.
You also mentioned n2br, there is also a PHP function called nl2br(), which converts newlines to <br> tags.