usequery("use `".$mydbname."`"); //查询 $and=""; $keyboard=RepPostVar($_GET['keyboard']); $sear=RepPostStr($_GET['sear'],1); if(empty($sear)) { $keyboard=$dbtbpre; } if($keyboard) { $and=" LIKE '%$keyboard%'"; } $sql=$empire->query("SHOW TABLE STATUS".$and); //存放目录 $mypath=$mydbname."_".date("YmdHis").make_password(6); ?>