summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Barnes <eric@ericlbarnes.com>2011-01-31 02:50:08 +0100
committerEric Barnes <eric@ericlbarnes.com>2011-01-31 02:50:08 +0100
commitc7f2bd28a8b26a6ed61f83f1d75fdd78aa37ebfe (patch)
tree0546aa211cab6e2c3aaecb08c1a525405bf37ba3
parentd91d0f7544967869248743c7ca663159d93628f5 (diff)
The db utility had the wrong code example for database_exists(). Fixes #26
-rw-r--r--user_guide/database/utilities.html4
1 files changed, 2 insertions, 2 deletions
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)<br />
}</code>
-<h2><a name="exists"></a>$this->db->database_exists();</h2>
+<h2><a name="exists"></a>$this->dbutil->database_exists();</h2>
<p>Sometimes it's helpful to know whether a particular database exists.
Returns a boolean TRUE/FALSE. Usage example:</p>
<code>
-if ($this->db->database_exists('database_name'))<br />
+if ($this->dbutil->database_exists('database_name'))<br />
{<br />
&nbsp;&nbsp; // some code...<br />
}