summaryrefslogtreecommitdiffstats
path: root/user_guide/database
diff options
context:
space:
mode:
authorpurandi <free6300@gmail.com>2011-09-04 15:15:15 +0200
committerpurandi <free6300@gmail.com>2011-09-04 15:15:15 +0200
commit08488e8ec1ae0a0519b914459becdade7b004a09 (patch)
tree40171d2444675da771e3a99183e2bac5d94ae837 /user_guide/database
parentab0dbd4b992778678e00ea3f2a3dd4bf5f1ff504 (diff)
Fix issue #378
Diffstat (limited to 'user_guide/database')
-rw-r--r--user_guide/database/results.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/database/results.html b/user_guide/database/results.html
index ec5f97762..a47e335cb 100644
--- a/user_guide/database/results.html
+++ b/user_guide/database/results.html
@@ -105,8 +105,8 @@ Query Results
<br />
foreach ($query->result('User') as $user)<br />
{<br />
- &nbsp;&nbsp;&nbsp;echo $row->name; // call attributes<br />
- &nbsp;&nbsp;&nbsp;echo $row->reverse_name(); // or methods defined on the 'User' class<br />
+ &nbsp;&nbsp;&nbsp;echo $user->name; // call attributes<br />
+ &nbsp;&nbsp;&nbsp;echo $user->reverse_name(); // or methods defined on the 'User' class<br />
}
</code>