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


函式:mysql_db_query()


mysql_db_query

送查詢字串 (query) 到 MySQL 資料庫。

語法: int mysql_db_query(string database, string query, int [link_identifier]);

傳回值: 整數

函式種類: 資料庫功能

內容說明

本函式用來送出查詢字串 (query) 到後端的 MySQL 資料庫中。而可省略的參數 link_identifier 若不存在,程式會自動尋找其它 mysql_connect() 連線後的連線代碼。發生錯誤時會傳回 false,其它沒錯誤時則傳回它的傳回代碼。

參考

mysql_connect()  


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



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