久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      php如何刪除數(shù)據(jù)庫

      php如何刪除數(shù)據(jù)庫

      php如何刪除數(shù)據(jù)庫

      1、首先查看有哪些數(shù)據(jù)庫

      php如何刪除數(shù)據(jù)庫

      2、使用php刪除test2

      <?php $dbhost = 'localhost';  // mysql服務(wù)器主機地址 $dbuser = 'root';            // mysql用戶名 $dbpass = 'root';          // mysql用戶名密碼 $conn = mysqli_connect($dbhost, $dbuser, $dbpass); if(! $conn ) {     die('連接失敗: ' . mysqli_error($conn)); } $sql = 'DROP DATABASE test2'; $retval = mysqli_query( $conn, $sql ); if(! $retval ) {     die('刪除數(shù)據(jù)庫失敗: ' . mysqli_error($conn)); } echo "數(shù)據(jù)庫 test2 刪除成功n"; mysqli_close($conn); ?>

      3、運行php程序

      php如何刪除數(shù)據(jù)庫

      3、再次查看數(shù)據(jù)庫

      php如何刪除數(shù)據(jù)庫

      test2沒有了,刪除成功!

      贊(0)
      分享到: 更多 (0)
      ?
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號