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


函式:mysql_pconnect()


mysql_pconnect

開啟 MySQL 伺服器長期連線。

語法: int mysql_pconnect(string [hostname] [:port], string [username], string [password]);

傳回值: 整數

函式種類: 資料庫功能

內容說明

本函式和 mysql_connect() 雷同。不同的地方在於使用本函式開啟資料庫時,程式會先尋找是否曾經執行過本函式,若執行過則傳回先前執行的 ID。另一個不同的地方是本函式無法使用 mysql_close() 關閉資料庫。


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



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