NewLines

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
mtbiking
-


Joined: 18 Mar 2004
Posts: 66

PostPosted: Sat Jul 16, 2005 12:46 am    Post subject: NewLines Reply with quote

right when i send something from a text area to php script it all comes off as 1 line and where i press enter it becomes a new space not an <br/> can someone tell me how to make this become a new line.

thanks
_________________
Check It Out... Nochex Classifieds
Back to top View user's profile Send private message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sat Jul 16, 2005 3:14 am    Post subject: Reply with quote

Use the nl2br-function.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group