php/mysql help

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 52
Joined: Tue May 01, 2012 12:30 pm

Fri Dec 14, 2012 12:43 pm


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 - ... cts_id=169

Thank you in advance


User avatar
php-forum GURU
php-forum GURU
Posts: 2192
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Mon Dec 17, 2012 10:38 am

HTML uses <br> to line break.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests