Fixed incorrectly named variables in the documentation.
diff --git a/user_guide/database/results.html b/user_guide/database/results.html
index ec5f977..a47e335 100644
--- a/user_guide/database/results.html
+++ b/user_guide/database/results.html
@@ -105,8 +105,8 @@
<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>