From c7f2bd28a8b26a6ed61f83f1d75fdd78aa37ebfe Mon Sep 17 00:00:00 2001 From: Eric Barnes Date: Sun, 30 Jan 2011 20:50:08 -0500 Subject: The db utility had the wrong code example for database_exists(). Fixes #26 --- user_guide/database/utilities.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide') diff --git a/user_guide/database/utilities.html b/user_guide/database/utilities.html index d4296fe2e..ac3841641 100644 --- a/user_guide/database/utilities.html +++ b/user_guide/database/utilities.html @@ -102,13 +102,13 @@ foreach($dbs as $db)
} -

$this->db->database_exists();

+

$this->dbutil->database_exists();

Sometimes it's helpful to know whether a particular database exists. Returns a boolean TRUE/FALSE. Usage example:

-if ($this->db->database_exists('database_name'))
+if ($this->dbutil->database_exists('database_name'))
{
   // some code...
} -- cgit v1.2.3-24-g4f1b