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.
mssql_pconnect() acts very much like mssql_connect() with two major differences.
First, when connecting, the function would first try to find a (persistent) link that's already open with the same host, username and password. If one is found, an identifier for it will be returned instead of opening a new connection.
Second, the connection to the SQL server will not be closed when the execution of the script ends. Instead, the link will remain open for future use (mssql_close() will not close links established by mssql_pconnect()).
This type of links is therefore called 'persistent'.
servernameThe MS SQL server. It can also include a port number. e.g. hostname:port.
usernameThe username.
passwordThe password.
new_linkIf a second call is made to mssql_pconnect() with the same arguments, no new link will be established, but instead, the link identifier of the already opened link will be returned. This parameter modifies this behavior and makes mssql_pconnect() always open a new link, even if mssql_pconnect() was called before with the same parameters.
Another Useful functions:
ref.mssql | function.mssql-select-db | function.mssql-rows-affected | function.mssql-result | function.mssql-query | function.mssql-pconnect | function.mssql-num-rows | function.mssql-num-fields | function.mssql-next-result | function.mssql-min-message-severity | function.mssql-min-error-severity | function.mssql-init | function.mssql-guid-string | function.mssql-get-last-message | function.mssql-free-statement | function.mssql-free-result | function.mssql-field-type | function.mssql-field-seek | function.mssql-field-name | function.mssql-field-length | function.mssql-fetch-row | function.mssql-fetch-object | function.mssql-fetch-field | function.mssql-fetch-batch | function.mssql-fetch-assoc | function.mssql-fetch-array | function.mssql-execute | function.mssql-data-seek | function.mssql-connect | function.mssql-close | function.mssql-bind |
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.