PEAR Handbuch | ||
---|---|---|
Zurück | Nach vorne |
Parameter
$dsn - data source name See the "DSN" section fur further information.
$options - This parameter has the type boolean, if $options is true the connection will be persistent (requires support by database driver). Default is false. In future releases, this parameter will be an array and take different options depending on the database.
Returns
mixed - a newly created DB connection object, or a DB_Error object on error.
Zurück | Zum Anfang | Nach vorne |
Execute | Nach oben | DB::disconnect() |