SQLite3
PHP Manual

SQLite3::lastErrorCode

(No version information available, might be only in CVS)

SQLite3::lastErrorCode ? Returns the numeric result code of the most recent failed SQLite request

説明

public int SQLite3::lastErrorCode ( void )

Returns the numeric result code of the most recent failed SQLite request.

パラメータ

この関数にはパラメータはありません。

返り値

Returns an integer value representing the numeric result code of the most recent failed SQLite request.

例1 SQLite3::lastErrorCode() example

<?php
/* ... */
?>

上の例の出力は、たとえば 以下のようになります。

...


SQLite3
PHP Manual