ianhaney Posted December 14, 2012 Share Posted December 14, 2012 (edited) 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 Edited December 14, 2012 by ianhaney Quote Link to comment Share on other sites More sharing options...
Jessica Posted December 14, 2012 Share Posted December 14, 2012 nl2br() Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Jessica Posted December 15, 2012 Share Posted December 15, 2012 Really? nl2br Quote Link to comment 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.