Skip to content

Commit

Permalink
Fixed incorrectly named variables in the documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Sturgeon committed Sep 4, 2011
1 parent e3f3394 commit 40d1a76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions user_guide/database/results.html
Expand Up @@ -105,8 +105,8 @@ <h2>result()</h2>
<br />
foreach ($query->result('User') as $user)<br />
{<br />
&nbsp;&nbsp;&nbsp;echo $row->name; // call attributes<br />
&nbsp;&nbsp;&nbsp;echo $row->reverse_name(); // or methods defined on the 'User' class<br />
&nbsp;&nbsp;&nbsp;echo $user->name; // call attributes<br />
&nbsp;&nbsp;&nbsp;echo $user->reverse_name(); // or methods defined on the 'User' class<br />
}
</code>

Expand Down

0 comments on commit 40d1a76

Please sign in to comment.