« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for nPDOStatement (0.000 sec.)
PDOStatement::errorCode — 文ハンドラにおける直近の操作に関連する SQLSTATE を取... 11228
PDOStatement::errorCode (PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 0.1.0) PDOStatement::errorCode — 文ハンドラにおける直近の操作に関連する SQLSTATE を取得する 説明 public function PDOStatement::errorCode (): ? string パラメータ この関数には ... 発生させる -- BONES テーブルは存在しない */ $err = $dbh -> prepare ( 'SELECT skull FROM bones' ); $err -> execute (); echo "\nPDOStatement::errorCode(): " ; print $err -> errorCode (); ?> 上の例の出力は以下となります。 PDOStatement::errorCode(): 42S02 参考 PDO: ...
https://man.mtool.work/php/8.3/pdostatement.errorcode.html
PDOStatement::errorInfo — 文ハンドラにおける直近の操作に関連する拡張エラー情報... 7485
PDOStatement::errorInfo (PHP 5 >= 5.1.0, PHP 7, PHP 8, PECL pdo >= 0.1.0) PDOStatement::errorInfo — 文ハンドラにおける直近の操作に関連する拡張エラー情報を取得する 説明 public function PDOStatement::errorInfo (): array パラメータ この関数には ... 発生させる -- BONES テーブルは存在しない */ $sth = $dbh -> prepare ( 'SELECT skull FROM bones' ); $sth -> execute (); echo "\nPDOStatement::errorInfo():\n" ; $arr = $sth -> errorInfo (); print_r ( $arr ); ?> 上の例の出力は以下となります。 PDOStatement::errorInf ...
https://man.mtool.work/php/8.3/pdostatement.errorinfo.html
PREV 1 NEXT