![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
LXXIX. mSQL FunctionsIntroductionThese functions allow you to access mSQL database servers. More information about mSQL can be found at http://www.hughes.com.au/. InstallationIn order to have these functions available, you must compile PHP with msql support by using the --with-msql[=DIR] option. DIR is the mSQL base install directory, defaults to /usr/local/msql3.
Runtime ConfigurationThe behaviour of these functions is affected by settings in php.ini.
Table 1. mSQL configuration options
Here's a short explanation of the configuration directives.
Resource TypesThere are two resource types used in the mSQL module. The first one is the link identifier for a database connection, the second a resource which holds the result of a query. Predefined ConstantsThe constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime. ExamplesThis simple example shows how to connect, execute a query, print resulting rows and disconnect from a mSQL database.
Copyright © 1997 - 2007 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. A copy of the Open Publication License is distributed with this manual, the latest version is presently available at http://www.opencontent.org/openpub/. Please see full copyright text at http://www.php.net/manual/en/copyright.php Original version of the above documentation is available at http://www.php.net/manual/en/ |
|