in reply to Re: Detect SQL injection
in thread Detect SQL injection

Thats what I was looking for.
On the other hand, I just tried to execute a possible SQL-injected query
$dbh->do( 'CREATE TABLE a (x INT) ; DROP TABLE a -- );' ) ; // or $dbh->do( 'CREATE TABLE a (x INT) ; DROP TABLE a' ) ;
Both give an error. Is it a rookie SQL mistake or what. I'm confused now!!