您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

px_get_parameter

(PECL paradox:1.1.0-1.4.1)

px_get_parameter — Gets a parameter

说明

string px_get_parameter ( resource $pxdoc , string $name )

Gets various parameters.

参数

pxdoc

Resource identifier of the paradox database as returned by px_new().

name

The name can be one of the following:

tablename

The name of the table as it will be stored in the database header.

targetencoding

The encoding for the output. Data which is being read from character fields with px_get_record() or px_retrieve_record() is recoded into the targetencoding. If it is not set, then the data will be delivered as stored in the database file.

inputencoding

The encoding of the input data which is to be stored into the database. When storing data of character fields in the database, the data is expected to be delivered in this encoding.

返回值

Returns the value of the parameter or FALSE on failure.