mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-10 15:54:01 +02:00
Merge pull request #42 from wilmoore/pdo-abstractions
added PDO abstraction links
This commit is contained in:
@@ -21,7 +21,13 @@ This is terrible code. You are inserting a raw query parameter into a SQL query.
|
||||
This is correct code. It uses a bound parameter on a PDO statement. This escapes the foreign input ID before it is introduced to the database preventing potential SQL injection attacks.
|
||||
|
||||
* [Learn about PDO][1]
|
||||
* [Doctrine2 DBAL][2]
|
||||
* [ZF2 Db][4]
|
||||
* [ZF1 Db][3]
|
||||
|
||||
[Back to Top](#top){.top}
|
||||
|
||||
[1]: http://www.php.net/manual/en/book.pdo.php
|
||||
[2]: http://www.doctrine-project.org/projects/dbal.html
|
||||
[3]: http://framework.zend.com/manual/en/zend.db.html
|
||||
[4]: http://packages.zendframework.com/docs/latest/manual/en/zend.db.html
|
||||
|
Reference in New Issue
Block a user