Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

php/mysql help

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

php/mysql help

Postby ianhaney » 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 -

Thank you in advance

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

Re: php/mysql help

Postby egami » Mon Dec 17, 2012 10:38 am

HTML uses <br> to line break.
User avatar
php-forum GURU
php-forum GURU
Posts: 2196
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.