px_set_parameter
(PECL paradox >= 1.1.0)
px_set_parameter — Sets a parameter
Description
$pxdoc
, string $name
, string $value
)Sets various parameters.
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.
Return Values
Returns TRUE
on success or FALSE
on failure.
See Also
- px_get_info() - Return lots of information about a paradox file to determine the DOS code page.
- PHP Руководство
- Функции по категориям
- Индекс функций
- Справочник функций
- Расширения для работы с базами данных
- Расширения для работы с базами данных отдельных производителей
- Paradox File Access
- px_close
- px_create_fp
- px_date2string
- px_delete_record
- px_delete
- px_get_field
- px_get_info
- px_get_parameter
- px_get_record
- px_get_schema
- px_get_value
- px_insert_record
- px_new
- px_numfields
- px_numrecords
- px_open_fp
- px_put_record
- px_retrieve_record
- px_set_blob_file
- px_set_parameter
- px_set_tablename
- px_set_targetencoding
- px_set_value
- px_timestamp2string
- px_update_record
Коментарии
404 Not Found