newlines? <br>

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
thomasd1
Forum Commoner
Posts: 80
Joined: Sat Nov 22, 2003 2:48 pm
Location: Belgium

newlines? <br>

Post by thomasd1 »

hi,
i'm making a guestbook, everything works but, only, when i write a small message in the <input type="textarea"> thingy, it saves everything on one line ...?
so like, on every "visitor's enter", a <BR>-tag should be inserted...

i can't explain myself any better.. :oops:

_____________
thanks ;)
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

[php_man]nl2br[/php_man]
User avatar
thomasd1
Forum Commoner
Posts: 80
Joined: Sat Nov 22, 2003 2:48 pm
Location: Belgium

Post by thomasd1 »

:oops:

(thanx)
Post Reply