|
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... Смотрите также
|
|