From 985a63828098c239d43fa512a6034d524ccd2e9d Mon Sep 17 00:00:00 2001
From: admin
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