Home > PHP > Function > > dbplus_errcode()

dbplus_errcode()

dbplus_errcode - Get error string for given errorcode or last error

Syntax

string dbplus_errcode (int $errno)

Arguments

  • errno - The error code. If not provided, the result code of the last db++ operation is assumed.

Description

Returns a clear error string for the given error code.

Version

PHP 4 <= 4.1.0, PECL dbplus >= 0.9

Return value

Returns the error message.