diff options
-rw-r--r-- | user_guide/database/active_record.html | 4 |
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->db->get('tablename');<br /> // Results in:<br />
/ SELECT `field1` FROM (`tablename`)<br />
<br />
-this->db->select('field2');<br />
+$this->db->select('field2');<br />
$this->db->get('tablename');<br />
// Results in:<br />
// SELECT `field1`, `field2` FROM (`tablename`)<br />
<br />
$this->db->flush_cache();<br />
<br />
-this->db->select('field2');<br />
+$this->db->select('field2');<br />
$this->db->get('tablename');<br />
// Results in:<br />
// SELECT `field2` FROM (`tablename`)</code></p>
|