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. Quote 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() Quote 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” Quote 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() Quote Link to comment https://forums.phpfreaks.com/topic/263604-convert-textarea-to-html/#findComment-1351059 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.