"SET NAMES UTF-8 COLLATE 'UTF-8'", )); } parent::__construct($dsn, $username, $password, $options); } // -------------------------------------------------------------------------- /** * Empty a table * * @param string $table */ public function truncate($table) { $this->query("TRUNCATE `{$table}`"); } } //End of mysql_driver.php