PHP » GoLang |
login |
register |
about
|
GoLang MysqlndUhConnection::getErrorString
request it (306)
GoLang replacement for PHP's MysqlndUhConnection::getErrorString
[edit | history]
PHP MysqlndUhConnection::getErrorStringPHP original manual for MysqlndUhConnection::getErrorString [ show | php.net ]MysqlndUhConnection::getErrorString(PECL mysqlnd-uh >= 1.0.0-alpha) MysqlndUhConnection::getErrorString — Returns a string description of the last error Description
public string MysqlndUhConnection::getErrorString
( mysqlnd_connection
$connection
)Returns a string description of the last error. Parameters
Return ValuesError string for the most recent function call. ExamplesMysqlndUhConnection::getErrorString() is not only executed after the invocation of a user space API call which maps directly to it but also called internally.
Example #1 MysqlndUhConnection::getErrorString() example
<?php The above example will output: 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... See Also
|
more
Recently updated
more
Most requested
more
Last requests
|