summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-12-19 01:02:29 +0100
committerDerek Allard <derek.allard@ellislab.com>2007-12-19 01:02:29 +0100
commit116c3937d7a9ae414f1fa59e23a624f50200f162 (patch)
treec10eed7d00484649231183fce9e2f8d41b626d70 /user_guide
parent80dd702d4c46552a3d1f94c5083c83eeff333b45 (diff)
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/database/active_record.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index aafef33b5..0146941ba 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/database/active_record.html
@@ -274,7 +274,7 @@ $this->db->or_where('id >', $id);
$names = array('frank', 'Todd', 'James');<br />
$this->db->where_in('username', $names);<br />
// Produces: AND WHERE username IN ('frank', 'Todd', 'James')</code></p>
-<p>An optional third parameter can be used to specify if the WHERE statement should be separated with &quot;OR&quot; or &quot;AND&quot; in the event of multiple WHERE calls. The default is &quot;AND&quot;.</p>
+<p>An optional third parameter can be used to specify if the WHERE statement should be separated with &quot;OR&quot; or &quot;AND&quot; in the event of multiple WHERE calls. The default is &quot;AND&quot;. They are called with 'and', 'or'.</p>
<p><code>$names = array('frank', 'Todd', 'James');<br />
<br />
$this-&gt;db-&gt;where('usergroup', '5')<br />