MDB::isError()

MDB::isError() – checks for an error

Synopsis

require_once 'MDB.php';

boolean MDB::isError ( mixed $value )

Description

Checks whether a result code from a MDB method is a MDB_Error object or not.

Parameter

mixed $value

Variable to check

Return value

boolean - TRUE, if $value is a MDB_Error object

Note

This function should be called statically.

connects to database (Previous) Interface for database access (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.