simon1221 World Chat Champion
Joined: 28 Jul 2004 Karma :
|
|
Suzuki Roger
Joined: 03 May 2005 Karma :
|
Posted: 12:30 - 15 Feb 2006 Post subject: |
|
|
The text is stored with the new lines marked with the return character "\n".
If you want this to display correctly on a webpage, you need to replace all the return characters with "<br>".
____________________ <Simple> no I'm shaven Jon
<Simple> it is a big enough hole.. I'll leave it now
Ride: 1999 Suzuki GSXR600 (yellow/black) IRC: Stats - Relationship Map |
|
Dom World Chat Champion
Joined: 06 Sep 2004 Karma :
|
Posted: 14:05 - 15 Feb 2006 Post subject: |
|
|
$textfromdatabase = nl2br($textfromdatabase);
Bob's your thingamywhatsit. ____________________ Photos and that |
|