diff options
author | Greg Aker <greg@gregaker.net> | 2011-11-01 15:09:59 +0100 |
---|---|---|
committer | Greg Aker <greg@gregaker.net> | 2011-11-01 15:09:59 +0100 |
commit | ed8d8158230d612347defaf4f56675e1c8c7602a (patch) | |
tree | c207f43de1c154fca13e11eafc1c5dfb24c2c56c | |
parent | 70eeb93361c4e6a08584fd600d173842e15a4f13 (diff) | |
parent | 04b0cf073484d80fb65c4bc072db9a91fef7040f (diff) |
Merge pull request #640 from tmd45/release/2.1.0
fixed user_guide/database/results.html in Release/2.1.0
-rw-r--r-- | user_guide/database/results.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/results.html b/user_guide/database/results.html index a6b85d8c4..0baf992fb 100644 --- a/user_guide/database/results.html +++ b/user_guide/database/results.html @@ -103,7 +103,7 @@ Query Results <code> $query = $this->db->query("SELECT * FROM users;");<br /> <br /> - foreach ($query->result('User') as $user)<br /> + foreach ($query->result('User') as $row)<br /> {<br /> echo $row->name; // call attributes<br /> echo $row->reverse_name(); // or methods defined on the 'User' class<br /> |