3 ms·
You should really look into using PDO: http://php.net/pdo http://php.net/pdo It's got real prepared statements (or a reasonable facsimile thereof for databases
by duskwuff 18y ago
You should really look into using PDO: http://php.net/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.