Re: [studs-user] Text field specialchars
Status: Beta
Brought to you by:
mojavelinux
|
From: Juan C. R. A. <jc...@um...> - 2006-12-18 13:24:30
|
Juan Carlos Rey Anaya wrote:
> As I don't know is this behabiour is configurable, I have recurred to a
> home-made remedy :-)
> function unescapeString($string, $charsToUnescape = array('\''),
>{...}
Yesterday I had a glimpse at string python docs, I didn't know there
were a function 'stripslashes' that does the same although stud's one
is more generic.
Also there is a function called addslashes.
Cheers
|