I have not been able to get the PHP function htmlentities to make any changes in the text passed to it in the first parameter. I took these two lines of code from the php manual entry for html entities. I put them into the php file that runs on my site on Marge when a form is returned to the directory. The code is:
$str = “A ‘quote’ is bold”;
echo htmlentities($str);
this returns:
“A ‘quote’ is bold”
I.E. the string is unchanged. My site is actually on a mirror right now (http://…/dreamhosters.com)
The experienced programmer in me says there is something going on here that I’m overlooking. The frustrated boy in me thinks the htmlentities function has been replaced with code that does nothing.
Your help will be appreciated.
Thanks