Home > PHP > Function > > dbx_connect()

dbx_connect()

dbx_connect - Open a connection/database

Syntax

object dbx_connect ()

Arguments

-

Description

Opens a connection to a database.

Version

PHP 4.0.6, 5 <= 5.0.5, PECL dbx >= 1.1.0

Return value

Returns an object on success, FALSE on error. If a connection has been made but the database could not be selected, the connection is closed and FALSE is returned.