jaas Posted November 11, 2008 Share Posted November 11, 2008 hi, I have data in a column of a table in below fashion : 'I am jaas' I want to display it as it is. But when I am fetching it into a variable and use 'echo variable;' then it only shows as below 'I am jaas' I dont know how to handle it. Please help. Regards, jaas Link to comment https://forums.phpfreaks.com/topic/132274-php-varialble-do-not-accept-enter-key/ Share on other sites More sharing options...
trq Posted November 11, 2008 Share Posted November 11, 2008 When you attempt to display your data back to your users run it through nl2br. Link to comment https://forums.phpfreaks.com/topic/132274-php-varialble-do-not-accept-enter-key/#findComment-687662 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.