haku87 Posted February 2, 2008 Share Posted February 2, 2008 My database has a column called instruction.. Inside there it has stuff like this.. testing testing2 neline but when i echo out in php it become testing testing2 neline how to preserve the enter key? Link to comment https://forums.phpfreaks.com/topic/89012-data/ Share on other sites More sharing options...
trq Posted February 2, 2008 Share Posted February 2, 2008 nl2br(). Link to comment https://forums.phpfreaks.com/topic/89012-data/#findComment-455833 Share on other sites More sharing options...
laffin Posted February 2, 2008 Share Posted February 2, 2008 echo "<PRE>" . htmlspecialchars($row) . "</PRE>"; Link to comment https://forums.phpfreaks.com/topic/89012-data/#findComment-455834 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.