Forum und email

dbplus_errcode

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_errcode — Get error string for given errorcode or last error

說明

string dbplus_errcode ([ int $errno ] )

Returns a clear error string for the given error code.

參數

errno

The error code. If not provided, the result code of the last db++ operation is assumed.

Return值

Returns the error message.

註釋

Warning

本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。