略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: px_set_parameter

2024-04-29

px_set_parameter

(PECL paradox >= 1.1.0)

px_set_parameterSets a parameter

说明

px_set_parameter ( resource $pxdoc , string $name , string $value ) : bool

Sets various parameters.

参数

pxdoc

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

name

Depending on the parameter you want to set, 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 is recoded into the targetencoding.

inputencoding

The encoding of the input data which is to be stored into the database.

value

The value of parameter to set. For inputencoding and targetencoding this must be the name of the encoding as understood by iconv or recode, e.g. iso-8859-1, utf-8, cp850.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见

  • px_get_info() - Return lots of information about a paradox file to determine the DOS code page.
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.px-set-parameter.php

冷却塔厂家 广告
中文GPT4.0无需注册 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3