diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-09-04 14:57:52 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-09-04 14:57:52 +0200 |
commit | 40d1a7684444f6a8eb4cda23d8822f0b258f0c3e (patch) | |
tree | f36f3248e80d9a7aef622e9abf78277e193e16e0 | |
parent | e3f33942387909350d15adb1fa87d926fd5d8d03 (diff) |
Fixed incorrectly named variables in the documentation.
-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> |