MDanz Posted May 12, 2010 Share Posted May 12, 2010 i'm displaying text from mysql in a textarea and it is displaying & and nbps; how do i eliminate these? i know they stand for & and blank and thats what i would like them to display instead? anyway around this? Link to comment https://forums.phpfreaks.com/topic/201496-display-in-textarea-problem/ Share on other sites More sharing options...
-Karl- Posted May 12, 2010 Share Posted May 12, 2010 http://php.net/manual/en/function.str-replace.php Link to comment https://forums.phpfreaks.com/topic/201496-display-in-textarea-problem/#findComment-1057121 Share on other sites More sharing options...
MDanz Posted May 12, 2010 Author Share Posted May 12, 2010 thanks, is there a code to replace all html special characters? Link to comment https://forums.phpfreaks.com/topic/201496-display-in-textarea-problem/#findComment-1057149 Share on other sites More sharing options...
kenrbnsn Posted May 12, 2010 Share Posted May 12, 2010 Take a look at html_entity_decode Ken Link to comment https://forums.phpfreaks.com/topic/201496-display-in-textarea-problem/#findComment-1057152 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.