<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_46429"> <div class="blockcode"> <div id="code_Vsn"><ol> <li> <li><?php<li>$hostname ='localhost';<li>$userid = 'user';<li>$password = 'password';<li>$dbname = 'dbname';<li>$connect = mysql_connect($hostname,$userid,$password);<li>mysql_select_db($dbname);<li>$result = mysql_query("show table status from $dbname",$connect);<li>while($data=mysql_fetch_array($result)) {<li>mysql_query("drop table $data[Name]");<li>}<li>?></li> </ol></div> <em onclick="copycode($('code_Vsn'));">复制代码</em> </div> </td></tr></table> <div id="comment_46429" class="cm"> </div> <div id="post_rate_div_46429"></div> <br><br>