in reply to Inserting an empty string, not NULL, with $dbh->quote()
I strictly use $dbh->quote() to quote data before inserting or selecting it with MySQL using DBI.
Get rid of that. Use placeholders. Really. Perl and DBI ain't PHP.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Inserting an empty string, not NULL, with $dbh->quote()
by afoken (Chancellor) on Jan 05, 2012 at 15:38 UTC | |
by morgon (Priest) on Jan 05, 2012 at 23:53 UTC |