summaryrefslogtreecommitdiffstats
path: root/user_guide/database
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-02-06 13:18:14 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-02-06 13:18:14 +0100
commit3e28887c84f73f1ade73f47b0ca220e7b8ef2bdb (patch)
treed8aff5798d2ed60a79d87ac5bdc45b1d8a790edb /user_guide/database
parenta85910c0361f8ecf14114e4a738be4b5b9979fb3 (diff)
typos
Diffstat (limited to 'user_guide/database')
-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>