session_pgsql_get_error

(PECL session_pgsql SVN)

session_pgsql_get_errorReturns number of errors and last error message

Description

session_pgsql_get_error ([ bool $with_error_message = FALSE ] ) : array

Get the number of errors and optional the error messages.

Parameters

with_error_message

Set to TRUE the literal error message for each error is also returned.

Return Values

The number of errors are returned as array.

See Also