summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIndieteq <admin@indieteq.com>2012-11-21 22:47:33 +0100
committerIndieteq <admin@indieteq.com>2012-11-21 22:47:33 +0100
commit3e7e9cb2edad4ab394bcbf17de681d9f4f2604ce (patch)
treebfa0cd08c127e5e608f17359f24fda2ad5357e8f
parentd5f6e752bdd7fb6548dda51b7f0dcf1e14321a74 (diff)
downloadphp-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
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index beb3eaa..69f9e9a 100644
--- a/README.md
+++ b/README.md
@@ -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