NYCPHP Meetup

NYPHP.org

[nycphp-talk] HTML entities in posted variables problem

David Sklar sklar at sklar.com
Wed Mar 17 10:50:06 EST 2004


> Interestingly, htmlentities doesn't seem to work for me as 
> 
> htmlentities($a) is not equal to htmlentities($_post['q1']) 

This is probably because htmlentities() turns " into " and not 
’  ’ (on my browser at least) displays as a curly apostrophe 
(single close quote), not as a doublequote.

David





More information about the talk mailing list