From c892b751de11c3948aeb47365d92e8bb47c9787c Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sat, 15 Mar 2008 15:50:35 +0000 Subject: fix an example --- user_guide/database/active_record.html | 2 -- 1 file changed, 2 deletions(-) (limited to 'user_guide/database/active_record.html') diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html index b25167c00..d2c888ceb 100644 --- a/user_guide/database/active_record.html +++ b/user_guide/database/active_record.html @@ -96,8 +96,6 @@ is generated by each database adapter. It also allows for safer queries, since
// Produces: SELECT * FROM mytable LIMIT 20, 10 (in MySQL. Other databases have slightly different syntax) - -

You'll notice that the above function is assigned to a variable named $query, which can be used to show the results:

$query = $this->db->get('mytable');
-- cgit v1.2.3-24-g4f1b