Re: Is there any function to escape strings ?

2008-04-21 Thread Neveldo
thank for your response, it's match with my willings :) Cordially, Neveldo : http://www.neveldo.fr On 21 avr, 14:41, grigri <[EMAIL PROTECTED]> wrote: > cake provides a global shortcut function called h() which internally > calls htmlspecialchars() with the charset defined in your config. > Ther

Re: Is there any function to escape strings ?

2008-04-21 Thread grigri
cake provides a global shortcut function called h() which internally calls htmlspecialchars() with the charset defined in your config. There's no actual helper method for this. data['Some']['thing']); ?> On Apr 21, 1:34 pm, Neveldo <[EMAIL PROTECTED]> wrote: > Hi all, > > I would like to escape

Is there any function to escape strings ?

2008-04-21 Thread Neveldo
Hi all, I would like to escape HTML chars for some titles and paragraphs in my view. I don't find any function in the HTML helper ... Is there any function in cakePHP to do that ? Or must I simply use the htmlspecialchars() PHP function ? thank a lot ! --~--~-~--~~~-