summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorLonnie Ezell <lonnieje@gmail.com>2015-07-24 06:27:01 +0200
committerLonnie Ezell <lonnieje@gmail.com>2015-07-24 06:27:01 +0200
commit752f5692594fc0b77dffa8055bbf934e1958364f (patch)
tree6eed430a06d58705e4852e90ad67bf32dbc0d71e /user_guide_src
parentf6259657756cf13c65f5ac30b36ad2d0dbdc89fc (diff)
Revamping to the tune of isset
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/database/results.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/database/results.rst b/user_guide_src/source/database/results.rst
index 58c6b1880..689fd52ff 100644
--- a/user_guide_src/source/database/results.rst
+++ b/user_guide_src/source/database/results.rst
@@ -83,7 +83,7 @@ one row, it returns only the first row. The result is returned as an
$row = $query->row();
- if (is_object($row))
+ if (isset($row))
{
echo $row->title;
echo $row->name;
@@ -113,7 +113,7 @@ Example::
$row = $query->row_array();
- if (is_array($row))
+ if (isset($row))
{
echo $row['title'];
echo $row['name'];