summaryrefslogtreecommitdiffstats
path: root/user_guide/database/results.html
diff options
context:
space:
mode:
authorDarren Hill <dchill42@gmail.com>2011-09-12 13:57:04 +0200
committerDarren Hill <dchill42@gmail.com>2011-09-12 13:57:04 +0200
commit00fcb545109d4e61bc14e403ec828749c34a54b3 (patch)
tree336473d0e3a85ce90cc463784f631c3d52462605 /user_guide/database/results.html
parent826675178c2c2ad697e5ac55161645abd9143bef (diff)
parent869e3721d75e9798a706d24d93170f44e5ab6cb3 (diff)
Updated cookie driver to latest develop changes
Diffstat (limited to 'user_guide/database/results.html')
-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>