From 3e28887c84f73f1ade73f47b0ca220e7b8ef2bdb Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 6 Feb 2008 12:18:14 +0000 Subject: typos --- user_guide/database/active_record.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide') 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');
// Results in:
/ SELECT `field1` FROM (`tablename`)

-this->db->select('field2');
+$this->db->select('field2');
$this->db->get('tablename');
// Results in:
// SELECT `field1`, `field2` FROM (`tablename`)

$this->db->flush_cache();

-this->db->select('field2');
+$this->db->select('field2');
$this->db->get('tablename');
// Results in:
// SELECT `field2` FROM (`tablename`)

-- cgit v1.2.3-24-g4f1b