in reply to escape characters for dbi
This will also improve performance if you run the query more than once, since it doesn't need to be re-prepared each time.$sth = $dbh->prepare("SELECT SUM(number) FROM $serverTable where name += ?"); $sth->execute("O'Connor");
|
|---|