in reply to variables inside SQL statements
$dbh->quote( "Where's the beef O'Reilly?" ); [download]
Originally posted as a Categorized Answer.