Thanks for the information, I actually forgot I posted the question until another user used quotes in a posting today...
However....
Your code recommendation below locked the web page after I hit post. I just used decode on the title as I didnt have issues with the body. Why'd you use str_replace anyhow?
//$send_title = str_replace(array('&', '"', ''', '''), array('&', '"', '\'', '\''), $send_title);
//$send_body = str_replace(array('&', '"', ''', '''), array('&', '"', '\'', '\''), $send_body);
$send_title = html_entity_decode($send_title);
I've tested my posted and they work great now! Thanks!!
|