Re: quote and NULL
| From: | Tomas V.V.Cox | Date: | Wed, 29 Aug 2001 15:08:38 +0000 |
| Subject: | Re: quote and NULL | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1717@lists.php.net to get a copy of this message | ||
On Wednesday 29 August 2001 16:03, Chuck Hagenbuch wrote:
> Quoting "Tomas V.V.Cox" <cox@idecnet.com>:
> > Is there any problem if DB::quote by default return the NULL string
> > also when the value is '' (now it returns NULL only when $var ===
> > null) ?
>
> '' and NULL are _very_ different things in SQL. Please don't do this.
>
ACK