-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Feb 05, 2002 at 12:56:49PM -0600, [EMAIL PROTECTED] wrote:
> $sth = $DBH->prepare("INSERT INTO $table VALUES(?, ?, ?, ?, ?, ?, ?,
[snip]
>                       $item = $DBH->quote($item);
[snip]
>       $sth->execute(@data) or die log_message("ERROR executing insert:

If you're using placeholders, you have no reason to be using $dbh->quote.  The 
native driver will do the proper quoting when it binds the value.

- -- 
Stephen Clouse <[EMAIL PROTECTED]>
Senior Programmer, IQ Coordinator Project Lead
The IQ Group, Inc. <http://www.theiqgroup.com/>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjxgNAMACgkQA4aoazQ9p2dUtwCg5mE9xmxhyQzsP8kf7nVhIwL8
aFgAnjkOg6OxCo0XggpNt394+reotBfr
=cRkH
-----END PGP SIGNATURE-----

Reply via email to