We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb29db1 commit 9f1a21aCopy full SHA for 9f1a21a
README.md
@@ -128,9 +128,9 @@ forach ($results as $result) {
128
```php
129
$query = $db->prepare($my_prepared_query);
130
$query->bindValue(':key1', $val, \JSONDB\JSONDB::PARAM_INT);
131
-$query->bindValue(':key1', $val, \JSONDB\JSONDB::PARAM_STRING);
132
-$query->bindValue(':key1', $val, \JSONDB\JSONDB::PARAM_BOOL);
133
-$query->bindValue(':key1', $val, \JSONDB\JSONDB::PARAM_NULL);
+$query->bindValue(':key2', $val, \JSONDB\JSONDB::PARAM_STRING);
+$query->bindValue(':key3', $val, \JSONDB\JSONDB::PARAM_BOOL);
+$query->bindValue(':key4', $val, \JSONDB\JSONDB::PARAM_NULL);
134
$results = $query->execute();
135
136
//// Specially for select() queries
0 commit comments