diff options
author | Derek Allard <derek.allard@ellislab.com> | 2007-02-02 04:46:31 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2007-02-02 04:46:31 +0100 |
commit | 11b76a37d20348c153ba77c39f6158f443de2ba0 (patch) | |
tree | 36099e026a81e7adc856d3612124947bf9d8a7df /user_guide/database/results.html | |
parent | ace387ac78117d7053d77ee1fe07d6c50a3fc6bc (diff) |
result() now returns an empty array when no results are found
Diffstat (limited to 'user_guide/database/results.html')
-rw-r--r-- | user_guide/database/results.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/results.html b/user_guide/database/results.html index 846504fd9..53f4713eb 100644 --- a/user_guide/database/results.html +++ b/user_guide/database/results.html @@ -71,7 +71,7 @@ Query Results <h2>result()</h2>
- <p>This function returns the query result as an array of <strong>objects</strong>, or <strong>FALSE</strong> on failure.
+ <p>This function returns the query result as an array of <strong>objects</strong>, or <strong>an empty array</strong> on failure.
Typically you'll use this in a foreach loop, like this:</p>
|