Scriptindex.de

[ Menü ]

Home
News
Scripts
Neuzugänge
Suchen
Bücher
Manuals

[ Inhalt ]

Script eintragen
Tutorial eintragen
Newsletter
Umfragen
Link zu uns
Werbung bei uns
Kontakt
Impressum

[ Statistik ]

Hits gesamt: 5199635
Hits Heute: 332
max. Hits (10.07.07): 6964
User Online: 39
Scripts: 2828

[ Partner ]

CodeBase
I.S.U.M.
LUG Bayreuth
PEAR NEWS
PHP Classes

[ Facebook ]

[ Eigene Domain? ]

[ Buchtipp ]

C# IT-Tutorial
C# IT-Tutorial

Manuals > PEAR > DB::connect()

DB::connect()

DB::connect() -- connects to database

Description

Creates a new DB connection object and connect to the specified database

Parameter

string $dsn

Data Source Name. See the "DSN" section for further information.

boolean $options

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.

Return value

object - the created DB connection object, or a DB_Error object on error.

Note

This function should be called statically.


Copyright 1998 - 2009 by I.S.U.M.