Re: Special characters --> single quote
| From: | Jason Brooke | Date: | Tue, 22 Aug 2000 10:20:28 +0000 |
| Subject: | Re: Special characters --> single quote | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12911@lists.php.net to get a copy of this message | ||
Please post a few of the lines of code, and tell us the data type of the field you're trying to
insert the data into
jason
> Thanks for your response James...
>
> But I have tried this with no success ...
> In fact, my sql query is cut by this single quote.
>
> Regards
>
> Ludovic.
>
> James Moore a écrit :
>
> > With the string your inserting do the following
> >
> > $string = addslashes($string);