PHP Manualcubrid_error_msg(PECL CUBRID >= 8.3.0) cubrid_error_msg — Get last error message for the most recent function call Description
string cubrid_error_msg
( void
)
The cubrid_error_msg() function is used to get the error message that occurred during the use of CUBRID API. Usually, it gets error message when API returns false as its return value. ParametersThis function has no parameters. Return ValuesError message that occurred.
ExamplesExample #1 cubrid_error_msg() example
<?php The above example will output: Error facility: 2 Error code: -1015 Error msg: Invalid T_CCI_SCH_TYPE value See Also
![]() |
PHP-Index
New Tutorial entries
|