Both give an error. Is it a rookie SQL mistake or what. I'm confused now!!$dbh->do( 'CREATE TABLE a (x INT) ; DROP TABLE a -- );' ) ; // or $dbh->do( 'CREATE TABLE a (x INT) ; DROP TABLE a' ) ;
In reply to Re^2: Detect SQL injection
by jeanluca
in thread Detect SQL injection
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |