PHP: odbc_pconnect - Manual in Deutsh
PHP: odbc_pconnect - Manual in French
PHP: odbc_pconnect - Manual in Polish

You Are At PHP: odbc_pconnect - Manual Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

odbc_pconnect

(PHP 3 >= 3.0.6, PHP 4, PHP 5)

odbc_pconnect -- Open a persistent database connection

Description

resource odbc_pconnect ( string dsn, string user, string password [, int cursor_type] )

Returns an ODBC connection id or 0 (FALSE) on error. This function is much like odbc_connect(), except that the connection is not really closed when the script has finished. Future requests for a connection with the same dsn, user, password combination (via odbc_connect() and odbc_pconnect()) can reuse the persistent connection.

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

For information about the optional cursor_type parameter see the odbc_connect() function. For more information on persistent connections, refer to the PHP FAQ.

Numizmatyka
Agencja Reklamowa Katowice
analizy
banki kredyty
salon

Another Useful functions:


function.odbc-tables | function.odbc-tableprivileges | function.odbc-statistics | function.odbc-specialcolumns | function.odbc-setoption | function.odbc-rollback | function.odbc-result | function.odbc-result-all | function.odbc-procedures | function.odbc-procedurecolumns | function.odbc-primarykeys | function.odbc-prepare | function.odbc-pconnect | function.odbc-num-rows | function.odbc-num-fields | function.odbc-next-result | function.odbc-longreadlen | function.odbc-gettypeinfo | function.odbc-free-result | function.odbc-foreignkeys | function.odbc-field-type | function.odbc-field-scale | function.odbc-field-precision | function.odbc-field-num | function.odbc-field-name | function.odbc-field-len | function.odbc-fetch-row | function.odbc-fetch-object | function.odbc-fetch-into | function.odbc-fetch-array | function.odbc-execute | function.odbc-exec | function.odbc-errormsg | function.odbc-error | function.odbc-do | function.odbc-data-source | function.odbc-cursor | function.odbc-connect | function.odbc-commit | function.odbc-columns | function.odbc-columnprivileges | function.odbc-close | function.odbc-close-all | function.odbc-binmode | function.odbc-autocommit |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.