From c644128fdd49a47d791240e0e38b54cd22412bc5 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 4 Jul 2007 23:54:32 +0000 Subject: fixed validation errors... about a zillion of em. --- user_guide/database/active_record.html | 6 +++--- 1 file changed, 3 insertions(+), 3 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 5d58f6bd4..573c67408 100644 --- a/user_guide/database/active_record.html +++ b/user_guide/database/active_record.html @@ -369,7 +369,7 @@ The second parameter lets you set the direction of the result. Options are $this->db->limit(); -

Lets you limit the number of rows you would like returned by the query: +

Lets you limit the number of rows you would like returned by the query:

$this->db->limit(10);
@@ -565,7 +565,7 @@ $this->db->delete('mytable', array('id' => $id)); // WHERE id = $id

The first parameter is the table name, the second is the where clause. You can also use the where() or orwhere() functions instead of passing -the data to the second parameter of the function: +the data to the second parameter of the function:

$this->db->where('id', $id);
@@ -603,7 +603,7 @@ Previous Topic:  Query Helper Functions Top of Page   ·   User Guide Home   ·   Next Topic:  Transactions -

+

CodeIgniter  ·  Copyright © 2007  ·  Ellislab, Inc.

-- cgit v1.2.3-24-g4f1b