PHP3 Manual
PrevNext

odbc_connect

odbc_connect -- Connect to a datasource

Description

int odbc_connect(string dsn, string user, string password);

Returns an ODBC connection id or 0 (false) on error.

The connection id returned by this functions is needed by other ODBC functions. You can have multiple connections open at once. For persistent connections see odbc_pconnect().


PrevHomeNext
odbc_commitUpodbc_cursor