Posted by Jasen Betts on 02/06/06 09:22
On 2006-02-04, David Haynes <david.haynes2@sympatico.ca> wrote:
> monomaniac21 wrote:
>> Is there a function that allows you to add a \ before a ' in a string.
>> This is needed to store text in a mysql db and i was wondering if there
>> is function which can do this to any ' which DO NOT already have one
>> before them, this is so i can keep editing my text without all these \
>> building up.
>>
>> Kind regards
>>
>> Marc
>>
> see addslashes()
>
and stripslashes()
Bye.
Jasen
[Back to original message]
|