(PECL ibm_db2 >= 1.0.0)
Returns a connection to a database
resource db2_connect ( string $database, string $username, string $password [, array $options ] )
Creates a new connection to an IBM DB2 Universal Database, IBM Cloudscape, or Apache Derby database.
Parameters:
database
For a cataloged connection to a database, database represents the database alias in the DB