News for hackers. Stuff that matters.
Re:Prevention of SQL injection in PHP by duskwuff on Friday May 22, 2009 @07:45PM (#622914)
You should really look into using PDO: http://php.net/pdo

It's got real prepared statements (or a reasonable facsimile thereof for databases that don't support them), and it lets you iterate directly over result sets. All sorts of handy stuff.

There are no comments on this comment yet.