RE: [PHP] str_replace() function help

2001-08-28 Thread Navid Yar
TED]] Sent: Tuesday, August 28, 2001 11:07 AM To: Navid Yar Cc: Php-General@Lists. Php. Net Subject: RE: [PHP] str_replace() function help This is the code I use for articles that are taken out of a database and the \n need to be changed to paragraphs $art = htmlspecialchars($art); $art = nl2br($

RE: [PHP] str_replace() function help

2001-08-28 Thread J Friesen
avid Yar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 4:08 AM To: Php-General Subject: [PHP] str_replace() function help Hello, I am creating an online text editor for a magazine site and I want to be able to apply some CSS formatting into it. The following is the script that adds t

[PHP] str_replace() function help

2001-08-28 Thread Navid Yar
Hello, I am creating an online text editor for a magazine site and I want to be able to apply some CSS formatting into it. The following is the script that adds the tags where necessary, then it strips the tags by replacing them with some tags with CSS formatting. The problem I'm having is tha