downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

odbc_exec> <odbc_error
Last updated: Fri, 13 Nov 2009

view this page in

odbc_errormsg

(PHP 4 >= 4.0.5, PHP 5)

odbc_errormsg直近のエラーメッセージを得る

説明

string odbc_errormsg ([ resource $connection_id ] )

直近の ODBC エラーメッセージを含む文字列を返します。 エラーが発生していない場合は、空の文字列を返します。

パラメータ

connection_id

ODBC 接続 ID。詳細は odbc_connect() を参照ください。

返り値

connection_id が指定された場合、 その接続の直近の状態が返されます。さもなくば、他の接続の直近の状態が返されます。

この関数の返り値が意味を持つのは、直近の odbc クエリが失敗した場合 (すなわち odbc_exec()FALSE を返した場合) のみです。

参考



add a note add a note User Contributed Notes
odbc_errormsg
There are no user contributed notes for this page.

odbc_exec> <odbc_error
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites