summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--user_guide/database/active_record.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index 478400f69..01781460a 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/database/active_record.html
@@ -730,14 +730,14 @@ $this-&gt;db-&gt;get('tablename');<br />
// Results in:<br />
/ SELECT `field1` FROM (`tablename`)<br />
<br />
-this-&gt;db-&gt;select('field2');<br />
+$this-&gt;db-&gt;select('field2');<br />
$this-&gt;db-&gt;get('tablename');<br />
// Results in:<br />
// SELECT `field1`, `field2` FROM (`tablename`)<br />
<br />
$this-&gt;db-&gt;flush_cache();<br />
<br />
-this-&gt;db-&gt;select('field2');<br />
+$this-&gt;db-&gt;select('field2');<br />
$this-&gt;db-&gt;get('tablename');<br />
// Results in:<br />
// SELECT `field2` FROM (`tablename`)</code></p>