in reply to Mysql Select Query by Perl
$sth = $dbh->prepare( sprintf( q(select * from %s where %s=?), $dbh->quote_identifier($table), $dbh->quote_identifier($col), ) ); $sth->execute($sel); [download]