htmlentities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there a way to only change accented characters and not HTML (Example: <p> </p> <a href =””> </a> )

The syntax

echo htmlentities( stripslashes(mysql_result($whats_new_result,0,"message")) ) . "\r\n";

is doing everything (as I expect).  I store breaking news within the database as HTML formatted text.  I am trying to see if a work around is available?  Do I need to do a variety of search / replace to convert the noted characters above back after htmlentities ?

(I am just starting to get use to accented letters.)

Thanks a lot for your help.

Ron

The Verse of the Day
“Encouragement from God’s Word”
http://www.TheVerseOfTheDay.info  

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux