I would suggest using htmlentities as it replaces all html marking. 
Furthermore, if you're using encoding other than iso-8859 there is a 3rd 
parameter that this function is using which describes encoding of the input 
string.

Regards,
-- 
Bratislav Velickovic
DBA/DB/WEB Designer
www.velickovic.net

>  I'm getting user data via a form and storing it in a db. It's then used
>  on web pages and (decoded) as xml in a RSS feed.
>
>  Does it matter whether I use htmlentities or htmlspecialchars to encode
>  the input?
>
>  TIA
>
>  PT
>
>             


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/CefplB/TM
--------------------------------------------------------------------~-> 

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to