php htmlentities to decode textarea
问题 I have a text area and I would like to take the input of the text area and merge it all together. Everything works fine except that it's escaping the quotes. For example test's is outputted as test/'s To fix this I tried htmlenttries such as, <?php $inputtext= $_POST['textinput']; $encodetext = htmlentities($inputtext); $finaltext = html_entity_decode($encodetext); echo '<p>'.$finaltext .'</p>'; ?> This should work according to the html_entity_decode manual (unless I read it wrong which could