From 11b76a37d20348c153ba77c39f6158f443de2ba0 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Fri, 2 Feb 2007 03:46:31 +0000 Subject: result() now returns an empty array when no results are found --- user_guide/database/results.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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

result()

-

This function returns the query result as an array of objects, or FALSE on failure. +

This function returns the query result as an array of objects, or an empty array on failure. Typically you'll use this in a foreach loop, like this:

-- cgit v1.2.3-24-g4f1b