ReVeR Posted December 30, 2006 Share Posted December 30, 2006 Hello.I am saving info into mysql from user input, and then trygin to print it. However when i try to print it i lose the new line, and most of the formating.Any ideas on why i lose that stuff?I had this problem b4, and i think i needed to call a special function b4 i still the infromation into mysql, i print it using the print function.Thx in advance. Link to comment https://forums.phpfreaks.com/topic/32245-no-new-line-when-printing-text-from-mysql/ Share on other sites More sharing options...
trq Posted December 30, 2006 Share Posted December 30, 2006 Use [url=http://php.net/nl2br]nl2br[/url] when trying to display the data. Link to comment https://forums.phpfreaks.com/topic/32245-no-new-line-when-printing-text-from-mysql/#findComment-149640 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.