PX_SET_PARAMETER(3) PX_SET_PARAMETER(3)
px_set_parameter - Sets a parameter
SYNOPSIS
bool px_set_parameter (resource $pxdoc, string $name, string $value)
DESCRIPTION
Sets various parameters.
PARAMETERS
o $pxdoc
- Resource identifier of the paradox database as returned by px_new(3).
o $name
- Depending on the parameter you want to set, $name can be one of the following.
o tablename
- The name of the table as it will be stored in the database header.
o targetencoding
- The encoding for the output. Data which is being read from character fields is recoded into the targetencoding.
o inputencoding
- The encoding of the input data which is to be stored into the database.
o $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.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
px_get_info(3) to determine the DOS code page..
PHP Documentation Group PX_SET_PARAMETER(3)