diff options
author | Darren Hill <dchill42@gmail.com> | 2011-09-12 13:57:04 +0200 |
---|---|---|
committer | Darren Hill <dchill42@gmail.com> | 2011-09-12 13:57:04 +0200 |
commit | 00fcb545109d4e61bc14e403ec828749c34a54b3 (patch) | |
tree | 336473d0e3a85ce90cc463784f631c3d52462605 /user_guide/database/results.html | |
parent | 826675178c2c2ad697e5ac55161645abd9143bef (diff) | |
parent | 869e3721d75e9798a706d24d93170f44e5ab6cb3 (diff) |
Updated cookie driver to latest develop changes
Diffstat (limited to 'user_guide/database/results.html')
-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> |