bravo14 Posted June 3, 2012 Share Posted June 3, 2012 I have a textarea that includes £ signs as a salary, this is added to the database up to £25k basic + car + benefits; OTE inc Commiss... When this is called from the database and displayed it is shown as follows up to �25k basic + car + benefits; OTE inc Commission up to �50k-�60k + How can I get it to display as html so the pound sign is set as £ Ideally I don't want to use WYSIWYG editor just the textarea. Link to comment https://forums.phpfreaks.com/topic/263604-convert-textarea-to-html/ Share on other sites More sharing options...
Barand Posted June 3, 2012 Share Posted June 3, 2012 htmlentities() Link to comment https://forums.phpfreaks.com/topic/263604-convert-textarea-to-html/#findComment-1350965 Share on other sites More sharing options...
alvin567 Posted June 4, 2012 Share Posted June 4, 2012 hey,how do I remove this character using php? ascii character? , “X” Link to comment https://forums.phpfreaks.com/topic/263604-convert-textarea-to-html/#findComment-1351028 Share on other sites More sharing options...
Barand Posted June 4, 2012 Share Posted June 4, 2012 str_replace() Link to comment https://forums.phpfreaks.com/topic/263604-convert-textarea-to-html/#findComment-1351059 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.