輸入待尋字串
  <?php
  require("http://php.wilson.gs");  // 回首頁
  echo "http://php.wilson.gs/bible/function.php : 函式:mysql_close()";


函式:mysql_close()


mysql_close

關閉 MySQL 伺服器連線。

語法: int mysql_close(int [link_identifier]);

傳回值: 整數

函式種類: 資料庫功能

內容說明

本函式關閉與 MySQL 資料庫伺服器的連線。若無指定參數 link_identifier 則會關閉最後的一筆連線。用 mysql_pconnect() 連線則無法使用本函式關閉。實際上本函式不是一定需要的,當 PHP 整頁程式結束後,將會自動關閉與資料庫的非永久性 (non-persistent) 連線。成功傳回 true、失敗傳回 false 值。

參考

mysql_connect()  mysql_pconnect()  


[ 上一頁 /bible/function.php 下一頁 ]



本站置於 NEC BIGLOBE 地球村網際網路  echo "Copyright © 1999-2001, Wilson Peng";  //隱私權保護政策
  mail("wilson@biglobe.net.tw", "Feedback", $message);
  ?>