Brimbox Logo Brimbox Version 2.3.4 Released

connect>>

Method to return an active database connection.

Class: bb_database, called as $main

File: bb_database.php (php)

Declaration:

function connect()

Usage:

$con = $main->connect();

Returns: Valid database connection.

Note: Uses constants DB_HOST, DB_NAME, DB_USER, DB_PASSWORD defined in bb_config.php

Updated: 2016-06-16