I need to convert a string like this:
A 'quote' is <b>bold</b>
into:
A 'quote' is <b>bold</b>
html_entity_decode() did not work.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Make sure you use the right quote_style:
html_entity_decode('A 'quote' is <b>bold</b>', ENT_QUOTES);ENT_QUOTES Will convert both double and single quotes. (PHP Manual: html_entity_decode)