DB (Previous) (Next) DB::isError()

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

DB::connect()

DB::connect() -- Connects to a database

Описание

Creates a new DB connection object and connect to the specified database

Параметр

string or array $dsn

Data Source Name. String formats are described in the DSN section while array formats are covered in the "Intro - Connect" section.

array $options

An optional argument can contain runtime configuration settings for this package. See setOption() for more information on the available settings.

Возвращаемое значение

object - a new DB object or a DB_Error object on failure

Заметка

Эта функция должна вызываться статически.

DB (Previous) (Next) DB::isError()

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.