in reply to Security with a MEMO field
# INSERT some data into 'foo'. # We are using $dbh->quote() for # quoting the name. $dbh->do("INSERT INTO foo VALUES (1, " . $dbh->quote("Tim") . ")");
The quote function will put apostrophes around your quoted text, and escape any nasty characters.
|
|---|