Re: Re: mysql input
| From: | Daniel Brown | Date: | Tue, 19 Feb 2008 16:49:42 +0000 |
| Subject: | Re: Re: mysql input | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-269632@lists.php.net to get a copy of this message | ||
On Feb 18, 2008 11:24 PM, Shawn McKenzie <nospam@mckenzies.net> wrote:
> nihilism machine wrote:
> > I have a user saving a VARCHAR(255) field in a mysql db which has single
> > quotes in the text, how can i replace them so that they dont fuck up my
> > mysql command?
> >
> > -e
>
>
> Have you tried: dont_fuck_up_my_mysql_command()
That has thrown E_DEPRECATED since PHP 4.1. RTFM, n00b. ;-D
--
</Dan>
Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>