View unanswered posts | View active topics It is currently Sun Jul 23, 2017 8:14 pm



Reply to topic  [ 1 post ] 
 Line breaks between MySQL, PHP and HTML 
Author Message
Junior Member

Joined: Wed May 06, 2009 7:11 am
Posts: 1
Post Line breaks between MySQL, PHP and HTML
Hi, I have tried everything...even the lecturers can't get this one to work, and it should be sooo simple, so thought I would ask if anyone else is having the problem......

I am bringing text out of my database that includes \r\n and obviously no new lines etc. I have tried nl2br, preg_replace, ereg_replace, str_replace and I am now getting desperate as these things work in replacing anything else except the \r\n code! For some reason they don't appear to be being seen....

I am testing in Safari and Firefox. If anyone has any ideas I would be most grateful,


Wed May 06, 2009 7:26 am
Report this post
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.