convert &ldquo and &rdquo to double quotes
Posted: Fri Dec 30, 2016 4:37 am
Script URL:
Version of script: 2.41
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I want to pup up a suggest article list when admin input new ticket, I did this:
1. some js code to trigger autocomplete function on subject field
2. some php code to return related kb articles based on subject
3. load the article content to the msg body when admin select from the pop up suggest article list
It work well but some special characters show in the msg body, like &ldquo, &rdquo, it should be converted to double quotes " and ".
I tried using $txt=htmlspecialchars_decode($txt) but it can not work.
any suggestion?
thanks
Version of script: 2.41
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I want to pup up a suggest article list when admin input new ticket, I did this:
1. some js code to trigger autocomplete function on subject field
2. some php code to return related kb articles based on subject
3. load the article content to the msg body when admin select from the pop up suggest article list
It work well but some special characters show in the msg body, like &ldquo, &rdquo, it should be converted to double quotes " and ".
I tried using $txt=htmlspecialchars_decode($txt) but it can not work.
any suggestion?
thanks