in reply to RE: Bad codes for SQL
in thread Bad codes for SQL

Corion is right in using the questionmarks. In DBI this would look like this:
my $sth = $dbh->prepare('SELECT * FROM table WHERE name=? AND id=?'); $sth->execute($name, $id);
but I'm not sure wether or not this provides the quoting...(sure, some other Monk will know ;-) ) Jouke Visser, Perl 'Adept'