|
PHP5中文手册
mSQL Functions简介These functions allow you to access mSQL database servers. More information about mSQL can be found at » http://www.hughes.com.au/. 安装In 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.
运行时配置这些函数的行为受 php.ini 的影响。
以下是配置选项的简要解释。
资源类型There 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. 预定义常量以下常量由本扩展模块定义,因此只有在本扩展模块被编译到 PHP 中,或者在运行时被动态加载后才有效。 范例This simple example shows how to connect, execute a query, print resulting rows and disconnect from a mSQL database. Example#1 mSQL usage example
<?php Table of Contents
|