in reply to Best way to deal with quotes in string with DBI
VALUES ( NULL, " . $dbh->quote($hash{$key}{'title'}) . ", " . $dbh->quote($hash{$key}{'authors'}) . ", " . $dbh->quote($hash{$key}{'isbn'}) . ", " . $dbh->quote($hash{$key}{'pages'}) . ", " . $dbh->quote($hash{$key}{'publisher'}) . ", " . $dbh->quote($hash{$key}{'publication_date'}) . ", " . $dbh->quote($hash{$key}{'image_small'}) . ", " . $dbh->quote($hash{$key}{'image_medium'}) . ", " . $dbh->quote($hash{$key}{'url_amazon'}) . ", NULL)";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Best way to deal with quotes in string with DBI
by Burak (Chaplain) on Jul 28, 2008 at 10:57 UTC | |
by ruzam (Curate) on Jul 28, 2008 at 14:14 UTC |