Forgot Password / Register
Site Statistics
Total Members: 520
Total Tutorials: 242
Newsest User: 8884244477
Todays Unique Hits: 6
0 Users 7 Guests Online
Forum Index » PHP + MySQL » php line
Posted on Monday 25th February 2008 at 06:09 PM
Dean
templates/default/images/noavatar.png's Avatar
Active Member
Right well on my page under the aboutme section it says
this is my content. and this is the new line

but in the database it looks like
this is my content.
and this is the new line.

how would i make it look like the database one on the aboutme?
Posted on Monday 25th February 2008 at 06:18 PM
darklight19
templates/default/images/noavatar.png's Avatar
Active Member
Umm...what?
Posted on Monday 25th February 2008 at 06:18 PM
DanielXP
avatars/1.png's Avatar
Senior Member
1. Provide your url.
http://street-revolution.net/meexx/profile/deanxrach

2. Provide your code.

3. nl2br = New Line 2 <br />

PHP Code
1
echo nl2br($database[aboutme]);