sql = new $class; } // -------------------------------------------------------------------------- /** * Doesn't apply to ODBC * * @return bool */ public function switch_db($name) { return FALSE; } // -------------------------------------------------------------------------- /** * Empty the current database * * @return void */ public function truncate($table) { $sql = "DELETE FROM {$table}"; $this->query($sql); } // -------------------------------------------------------------------------- /** * Return the number of rows returned for a SELECT query * * @return int */ public function num_rows() { // @TODO: Implement } } // End of odbc_driver.php