PHP Object Framework (PHPOF) Manual

DB::connect

Connect to a database

Description

DB DB::connect ( string resource_locator )

DB::connect connects to the database specified in the resource_locator. resource_locator. must currently be of the form 'mysql://username:password@host/database_name'.

DB:connect returns an initialised object of type DB.