PHP Htmlentities Vs Htmlspecialchars Differences Php Functions Post Description:
Post Tags: php, htmlentities, vs, htmlspecialchars, differences, php, functions, free php support, php scripts, php questions, php answers, programming, codes, scripts This Post Has Been Viewed 1073 Times Since Thu Feb 21, 2008 8:57 am Posted By hostman with 3 replies
PHP Htmlentities Vs Htmlspecialchars Differences Php Functions
so what is the difference between htmlspecialchars() and htmlentities?
htmlspecialchars — Convert special characters to HTML entities
htmlentities — Convert all applicable characters to HTML entities
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites
Fourms BBCODE:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
Comments and replies About PHP Htmlentities Vs Htmlspecialchars Differences Php Functions
:: 1 :: Reply #69105 Reply By Steven Schoch On Tue Sep 02, 2008 9:09 am
i found a difference. if the string contains non-ascii characters, htmlspecialchars will display correctly, but htmlentities will not.
for example, if the string is "sève", htmlspecialchars will show it correctly, but htmlentities will show it as "sève".
:: 2 :: Reply #69106 Reply By Steven Schoch On Tue Sep 02, 2008 9:11 am
...and apparently, this board is not doing it correctly either.
:: 3 :: Reply #69130 Reply By paul On Tue Sep 02, 2008 12:13 pm
i hate it when people complaint, but they dont tell you what the solution is. if you find a problem, you fix it, dont wait for others to fix it.. that's how my boss is, if he finds something wrong, he will report it, instead of fixing it and then reporting.. but no, the first thing he wants to do is to point fingers.. i hate people like that... they suck.