(PHP 4, PHP 5, PHP 7)
Connect to a datasource
resource odbc_connect ( string $dsn, string $user, string $password [, int $cursor_type ] )
The connection id returned by this functions is needed by other ODBC functions. You can have multiple connections open at once as long as they either use different db or different credentials.
With some ODBC drivers, executing a complex stored procedure may fail with an error similar to: