Re: Quote "draft"
| From: | Stig Bakken | Date: | Tue, 10 Jul 2001 17:53:03 +0000 |
| Subject: | Re: Quote "draft" | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-622@lists.php.net to get a copy of this message | ||
uhm, why do we really need this placeholder? there's no "db independent"
function layer and such, right?
- Stig
On Tue, 10 Jul 2001, Tomas V.V.Cox wrote:
> 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
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, e-mail: pear-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: pear-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>