pbms_errno
Description
long pbms_errno ( [resource $pbms] )
For the connection specified by $pbms, returns the error code for the most recently invoked API function that can succeed or fail.
Parameters
pbms
The pbms connection the error information is being requested for. If $pbms is not specified, the last link opened by pbms_connect() is assumed.
Return Values

A return code of zero indicates the most recent API function did not report an error.

The PBMS error code for the most recently invoked API function that can succeed or fail.

Related functions
pbms_error()