<?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,其它沒錯誤時則傳回它的傳回代碼。
|
![]() mail("wilson@biglobe.net.tw", "Feedback", $message); ?> |