
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,