ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:adonewconnection

This is an old revision of the document!


adoNewConnection

Not passing a driver name as the parameter to this function does nothing but return an error. This behavior will be removed in version 6.0.0.

Syntax before version 6.0.0
mixed adoNewConnection(
    optional string $driverType=''
)
Syntax version 6.0.0
mixed adoNewConnection(
    string $driverType
) 

Description

The function adoNewConnection, in the simple form, loads the database driver specific files as specified by the string $driverType .

v5/reference/connection/adonewconnection.1437920415.txt.gz · Last modified: 2017/04/21 11:37 (external edit)