Re: Quote "draft"
| From: | Tomas V.V.Cox | Date: | Tue, 10 Jul 2001 11:50:08 +0000 |
| Subject: | Re: Quote "draft" | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-613@lists.php.net to get a copy of this message | ||
Minor change to the draft:
>
> - Add a new placeholder char, for example "#" (please propose others). A
> value in the position of a "#" should be returned without changes (for
> example to not escape native SQL functions: insert into date ('id',
> 'date') values (?, #) with an array => (1, NOW())).
>
yavor shahpasov, warn me about the probably risk of using the SQL
comments char as placeholder, so I propose the new one "!" for this.
Also the example I gave have a bug, it should be:
insert into date ('id', 'date') values (?, #) with an array => (1,
"NOW()")
Tomas V.V.Cox