leest Posted January 22, 2008 Share Posted January 22, 2008 Hi the following works fine on my current website and returns the information from the databse with the format that it was added with. However i am converting my website to work on php5 and it's now not working, any guidance would be appreciated. echo nl2br($row['description']); Thanks Quote Link to comment https://forums.phpfreaks.com/topic/87247-solved-formating-text-from-a-database-entry-in-php-5/ Share on other sites More sharing options...
wildteen88 Posted January 22, 2008 Share Posted January 22, 2008 More code is needed. nl2br is supported by PHP4 and 5 Quote Link to comment https://forums.phpfreaks.com/topic/87247-solved-formating-text-from-a-database-entry-in-php-5/#findComment-446294 Share on other sites More sharing options...
leest Posted January 22, 2008 Author Share Posted January 22, 2008 HI, Thanks, I have just managed to fix it, i thought that i had previously had it working, but today it just went mad. BUt thanks for the reply lee Quote Link to comment https://forums.phpfreaks.com/topic/87247-solved-formating-text-from-a-database-entry-in-php-5/#findComment-446298 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.