Skip to content

Commit 3b7465f

Browse files
committed
docs: complete the example query with the error return
1 parent 82e37fd commit 3b7465f

File tree

1 file changed

+5
-1
lines changed
  • user_guide_src/source/database/queries

1 file changed

+5
-1
lines changed
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
<?php
22

3-
$bool = $pQuery->close();
3+
if ($pQuery->close()) {
4+
echo 'Success!';
5+
} else {
6+
echo 'Deallocation of prepared statements failed!';
7+
}

0 commit comments

Comments
 (0)