| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
MysqlndUhConnection::getErrorString(PECL mysqlnd-uh >= 1.0.0-alpha) MysqlndUhConnection::getErrorString — Returns a string description of the last error 説明
public string MysqlndUhConnection::getErrorString
( mysqlnd_connection
$connection
)Returns a string description of the last error. パラメータ
返り値Error string for the most recent function call. 例MysqlndUhConnection::getErrorString() is not only executed after the invocation of a user space API call which maps directly to it but also called internally.
例1 MysqlndUhConnection::getErrorString() example
<?php 上の例の出力は以下となります。 connect... proxy::getErrorString(array ( 0 => NULL, )) proxy::getErrorString returns '' query... errno... proxy::getErrorString(array ( 0 => NULL, )) proxy::getErrorString returns 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'WILL_I_EVER_LEARN_SQL?\' at line 1' string(168) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WILL_I_EVER_LEARN_SQL?' at line 1" close... 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「MysqlndUhConnection::getErrorString - Returns a string description of the last error」をGoogle検索
|