Function for HTML code

2003-03-13 Thread Khalid . Naji
Hello, which function could I use to transform characters such as '' into code for HTML. Any think like: $string='ab'; Func($string) return ('agt;b') Thank you KN -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Function for HTML code

2003-03-13 Thread Michael Kelly
On Thu, Mar 13, 2003 at 11:32:02AM +0100, [EMAIL PROTECTED] wrote: Hello, Hello, which function could I use to transform characters such as '' into code for HTML. Any think like: $string='ab'; Func($string) return ('agt;b') The HTML::Entities module can do this for you: