summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-02-24 16:13:17 +0100
committerDerek Allard <derek.allard@ellislab.com>2007-02-24 16:13:17 +0100
commit67e1053780a45dbeedc3ed98361aa1fc3d4931b8 (patch)
treedc198f6cfa3aab50b461ce31b605c934a1c7d5b1 /user_guide
parent7184e31bf641e181045dcfa95128e5a06b916130 (diff)
result_array() returns an empty array when no result is produced.
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/database/results.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/results.html b/user_guide/database/results.html
index c941d5b90..7b46d21bf 100644
--- a/user_guide/database/results.html
+++ b/user_guide/database/results.html
@@ -105,7 +105,7 @@ Query Results
<h2>result_array()</h2>
- <p>This function returns the query result as a pure array, or FALSE on failure. Typically you'll use this in a foreach loop, like this:</p>
+ <p>This function returns the query result as a pure array, or an empty array when no result is produced. Typically you'll use this in a foreach loop, like this:</p>
<code>
$query = $this->db->query("YOUR QUERY");<br />
<br />