diff options
author | purandi <free6300@gmail.com> | 2011-09-04 15:15:15 +0200 |
---|---|---|
committer | purandi <free6300@gmail.com> | 2011-09-04 15:15:15 +0200 |
commit | 08488e8ec1ae0a0519b914459becdade7b004a09 (patch) | |
tree | 40171d2444675da771e3a99183e2bac5d94ae837 /user_guide | |
parent | ab0dbd4b992778678e00ea3f2a3dd4bf5f1ff504 (diff) |
Fix issue #378
Diffstat (limited to 'user_guide')
-rw-r--r-- | user_guide/database/results.html | 4 |
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 /> - echo $row->name; // call attributes<br /> - echo $row->reverse_name(); // or methods defined on the 'User' class<br /> + echo $user->name; // call attributes<br /> + echo $user->reverse_name(); // or methods defined on the 'User' class<br /> } </code> |