diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-11-02 10:49:23 +0100 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-11-02 10:49:23 +0100 |
commit | ec58ace846cd89587e8e3dbd404192bcbf96e1c2 (patch) | |
tree | 58ae991651541f147ef8d08a80d394a75cd05887 /user_guide/database | |
parent | 2c7e01dc7a26629b1e8447c54b49d55295bb3cc9 (diff) | |
parent | ed8d8158230d612347defaf4f56675e1c8c7602a (diff) |
Merge branch 'release/2.1.0' of github.com:EllisLab/CodeIgniter into release/2.1.0
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 /> |