ianhaney Posted December 14, 2012 Share Posted December 14, 2012 Hi on my website I have products and in the product description I am getting \n\r showing after each line where as it should be hiding it for example see below 16 ml in each bottle\r\nLuxury Style Bottles\r\nAvailable in White, Clear, Peach, Purple, Red, Pink and Black it should be like below 16 ml in each bottle Luxury Style Bottles Available in White, Clear, Peach, Purple, Red, Pink and Black Any ideas as not sure if it is the php file or the database causing the issue To see the issue go here - http://www.worldofco...products_id=169 Thank you in advance Ian Link to comment https://forums.phpfreaks.com/topic/272006-phpmysql-help/ Share on other sites More sharing options...
Jessica Posted December 14, 2012 Share Posted December 14, 2012 nl2br() Link to comment https://forums.phpfreaks.com/topic/272006-phpmysql-help/#findComment-1399447 Share on other sites More sharing options...
ianhaney Posted December 14, 2012 Author Share Posted December 14, 2012 Hi Jessica Thank you for the reply Where do I put the nl2br() Does it go in a php file or the database Link to comment https://forums.phpfreaks.com/topic/272006-phpmysql-help/#findComment-1399448 Share on other sites More sharing options...
Jessica Posted December 15, 2012 Share Posted December 15, 2012 Really? nl2br Link to comment https://forums.phpfreaks.com/topic/272006-phpmysql-help/#findComment-1399494 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.