Skip to content

Commit 9f1a21a

Browse files
committed
Typo
1 parent fb29db1 commit 9f1a21a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ forach ($results as $result) {
128128
```php
129129
$query = $db->prepare($my_prepared_query);
130130
$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);
131+
$query->bindValue(':key2', $val, \JSONDB\JSONDB::PARAM_STRING);
132+
$query->bindValue(':key3', $val, \JSONDB\JSONDB::PARAM_BOOL);
133+
$query->bindValue(':key4', $val, \JSONDB\JSONDB::PARAM_NULL);
134134
$results = $query->execute();
135135

136136
//// Specially for select() queries

0 commit comments

Comments
 (0)