From 985a63828098c239d43fa512a6034d524ccd2e9d Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 28 Oct 2006 18:47:16 +0000 Subject: --- user_guide/database/utilities.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/user_guide/database/utilities.html b/user_guide/database/utilities.html index e76858576..bccce555b 100644 --- a/user_guide/database/utilities.html +++ b/user_guide/database/utilities.html @@ -101,7 +101,7 @@ already be running, since the utilities class relies on it.

$this->dbutil->create_database('db_name')

-

Permits you to create a database using the name specified in the first parameter. Returns TRUE/FALSE based on success or failure:

+

Permits you to create the database specified in the first parameter. Returns TRUE/FALSE based on success or failure:

if ($this->dbutil->create_database('my_db'))
{
@@ -111,9 +111,9 @@ already be running, since the utilities class relies on it.

-

$this->dbutil->drop_database('table_name')

+

$this->dbutil->drop_database('db_name')

-

Permits you to drop a database using the table name specified in the first parameter. Returns TRUE/FALSE based on success or failure:

+

Permits you to drop the database specified in the first parameter. Returns TRUE/FALSE based on success or failure:

if ($this->dbutil->drop_database('my_db'))
{
@@ -162,7 +162,7 @@ if ($this->dbutil->optimize_table('table_name'))

Permits you to repair a table using the table name specified in the first parameter. Returns TRUE/FALSE based on success or failure:

-if ($this->dbutil->optimize_table('table_name'))
+if ($this->dbutil->repair_table('table_name'))
{
    echo 'Success!';
} @@ -176,7 +176,7 @@ if ($this->dbutil->optimize_table('table_name'))

Note:  This features is only available for MySQL/MySQLi databases.

-

Permits you to optimize the database your DB class is currently connected to. Returns an array containing the returned status messages or FALSE on failure.

+

Permits you to optimize the database your DB class is currently connected to. Returns an array containing the DB status messages or FALSE on failure.

$result = $this->dbutil->optimize_database();
-- cgit v1.2.3-24-g4f1b