From 67e1053780a45dbeedc3ed98361aa1fc3d4931b8 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sat, 24 Feb 2007 15:13:17 +0000 Subject: result_array() returns an empty array when no result is produced. --- user_guide/database/results.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/database/results.html') 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

result_array()

-

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:

+

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:

$query = $this->db->query("YOUR QUERY");

-- cgit v1.2.3-24-g4f1b