<?php require("http://php.wilson.gs"); // 回首頁 echo "http://php.wilson.gs/bible/function.php : 函式:mysql_error()"; |
函式:mysql_error() |
mysql_error傳回錯誤訊息。 語法: string mysql_error(int [link_identifier]); 傳回值: 字串 函式種類: 資料庫功能
本函式可以得到 MySQL 資料庫伺服器的錯誤訊息。通常用在 PHP 網頁程式開發階段,與 mysql_errno() 一起作為PHP 與 MySQL 的除錯用。
|
![]() mail("wilson@biglobe.net.tw", "Feedback", $message); ?> |