storing line breaks

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
Steven
Forum Newbie
Posts: 2
Joined: Sun Jun 30, 2002 3:19 pm
Location: tx

storing line breaks

Post by Steven »

on his website a friend of mine uses php with mysql to have a blog on the main index....

http://www.heatwavedesign.net - just click the splash

anyhow as of now we have to enter in <br><br> whenever we want to skip a line... how can we make it so that it works more like this forum where the user only has to hit enter twice for the next line?

-steve
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

new line to break


http://www.php.net/nl2br
Steven
Forum Newbie
Posts: 2
Joined: Sun Jun 30, 2002 3:19 pm
Location: tx

Post by Steven »

thank you :D
-steve
Post Reply