diff options
author | Yoko TAMADA <tmd45@otegami.jpn.org> | 2011-11-01 15:01:29 +0100 |
---|---|---|
committer | Yoko TAMADA <tmd45@otegami.jpn.org> | 2011-11-01 15:01:29 +0100 |
commit | 04b0cf073484d80fb65c4bc072db9a91fef7040f (patch) | |
tree | c207f43de1c154fca13e11eafc1c5dfb24c2c56c /user_guide/database | |
parent | 70eeb93361c4e6a08584fd600d173842e15a4f13 (diff) |
fix user_guide/database/results.html, unmodified variable '$user' to '$row'
Diffstat (limited to 'user_guide/database')
-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 /> |