Sets a parameter

(PECL paradox >= 1.1.0)

px_set_parameterSets a parameter


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

Sets various parameters.

Список параметров


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


Depending on the parameter you want to set, name can be one of the following.


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


The encoding for the output. Data which is being read from character fields is recoded into the targetencoding.


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


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.