return $this->query("USE ".$db_name);\r
}
- function table_exists($base, $table){\r
+ function table_exists($table){\r
if(!$this->link) $this->connect($this->host, $this->base, $this->user, $this->password);\r
- $this->select_db($base);\r
$rst = $this->query("SHOW TABLES");\r
while($v_rst = mysql_fetch_array($rst)){\r
if(strcmp($v_rst[0], $table) == 0) return true;\r