godsent Posted January 8, 2010 Share Posted January 8, 2010 I do not remember exact name of function but for example we have : $string = "<b>a</b>"; and if we echo it, it would be just b, how to make that it would write <b>a</b>, I remember I used this function in the past, I just cant remember exact name. Link to comment https://forums.phpfreaks.com/topic/187695-tohtmlcharsstring-something-like-that/ Share on other sites More sharing options...
PHP Monkeh Posted January 8, 2010 Share Posted January 8, 2010 htmlentities() Link to comment https://forums.phpfreaks.com/topic/187695-tohtmlcharsstring-something-like-that/#findComment-990892 Share on other sites More sharing options...
godsent Posted January 8, 2010 Author Share Posted January 8, 2010 You're a life saver, thanks. Link to comment https://forums.phpfreaks.com/topic/187695-tohtmlcharsstring-something-like-that/#findComment-990898 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.