[PHP] Urgent Help Needed removing \n\r

2003-02-14 Thread Daniel Negron/KBE
Hi all,

Slight problem, I have about 200 pages of HTML stored in a mysqlDB.  I had
to manually edit some information on EVERY single page.  I used MySQL-Front
and edited these pages.  All of the tags were correct img and font I
have run into a problem now, that every page I have edited has somehow
corrupted most/all of the font and img tags.  so they look like  this

font
  face=ARIAL, HELVETICA

Now when the page is read it actually prints out font  face=ARIAL,
HELVETICA instead of changing the font or showing the IMAGE.  The font I
am not so much worried about it is the image that is not showing up and the
there are too many pages to go through manually.

Can someone help me with a PHP script to go through the db and replace the
\n\r ?


Thank you,


---
-Daniel Negron

  // \\*
 /  _  __ ___  \Lotus Notes Admin / Developer
|  | |/ /| _ )  |   KB Electronic, Inc.
|  | '  | _ \  |   12095 NW 39th Street
|  |_|\ \|___/  |   Coral Springs, FL. 33065
 \ \_\ /954.346.4900 x 122
  \\ // email: [EMAIL PROTECTED]

-   http://www.kbelectronics.com
---



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Urgent Help Needed removing \n\r

2003-02-14 Thread Ernest E Vogelsinger
At 23:12 14.02.2003, Daniel Negron/KBE said:
[snip]
have run into a problem now, that every page I have edited has somehow
corrupted most/all of the font and img tags.  so they look like  this

font
  face=ARIAL, HELVETICA

Now when the page is read it actually prints out font  face=ARIAL,
HELVETICA instead of changing the font or showing the IMAGE.  The font I
[snip] 

There must be a different problem since the tag is perfectly valid, even
with the spaces/newlines you are showing. If it prints our the HTML tags
have a look at the source if they didn't get encoded somehow (like lt;font
face=quot;ARIALquot;gt;)


-- 
   O Ernest E. Vogelsinger
   (\)ICQ #13394035
^ http://www.vogelsinger.at/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php