How to convert normal text into html entities text? |
[eluser]suba[/eluser]
Hi, $str="Hello\' welcome, CI"; i want to convert html entities text. Pls inform which helper or which class has this functionality? pls help.
[eluser]steelaz[/eluser]
You don't need CI for that, PHP has built-in functions to encode and decode html entities - http://us3.php.net/manual/en/function.htmlentities.php |
Welcome Guest, Not a member yet? Register Sign In |