PHP.nl

odbc_pconnect

odbc_pconnect

Open a persistent database connection

 **odbc_pconnect** string $dsn  $user  $password int $cursor_option

Opens a persistent database connection.

This function is much like , except that the connection is not really closed when the script has finished. Future requests for a connection with the same , , combination (via and ) can reuse the persistent connection. odbc_connect``dsn``user``password``odbc_connect``odbc_pconnect

See for details. odbc_connect

Returns an ODBC connection, return.falseforfailure.

Opmerking: > Persistent connections have no effect if PHP is used as a CGI program.

odbc_connectPersistent Database Connections