diff options
author | Indieteq <admin@indieteq.com> | 2012-11-21 22:47:33 +0100 |
---|---|---|
committer | Indieteq <admin@indieteq.com> | 2012-11-21 22:47:33 +0100 |
commit | 3e7e9cb2edad4ab394bcbf17de681d9f4f2604ce (patch) | |
tree | bfa0cd08c127e5e608f17359f24fda2ad5357e8f /README.md | |
parent | d5f6e752bdd7fb6548dda51b7f0dcf1e14321a74 (diff) | |
download | php-mysql-pdo-database-class-3e7e9cb2edad4ab394bcbf17de681d9f4f2604ce.zip php-mysql-pdo-database-class-3e7e9cb2edad4ab394bcbf17de681d9f4f2604ce.tar.gz php-mysql-pdo-database-class-3e7e9cb2edad4ab394bcbf17de681d9f4f2604ce.tar.bz2 |
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -68,6 +68,9 @@ $person = $db->query("SELECT * FROM Persons WHERE firstname = :firstname AND // 3. Or just give the parameters to the method $person = $db->query("SELECT * FROM Persons WHERE firstname = :firstname",array("firstname"=>"John","id"=>"1")); ``` + +More about SQL injection prevention : http://indieteq.com/index/readmore/how-to-prevent-sql-injection-in-php + #### Fetching Row: This method always returns only 1 row. ```php |