px_get_value

(PECL paradox >= 1.1.0) Gets a value float px_get_value ( resource $pxdoc, string $name ) Gets various values. Parameters: pxdoc Resource identifier of the paradox database as returned by px_new(). name name can be one of the following. Returns: Returns the value of the parameter or FALSE on failure.

px_get_schema

(PECL paradox >= 1.0.0) Returns the database schema array px_get_schema ( resource $pxdoc [, int $mode = 0 ] ) px_get_schema() returns the database schema. Parameters: pxdoc Resource identifier of the paradox database as returned by px_new(). mode If the optional mode is PX_KEYTOLOWER or PX_KEYTOUPPER the keys of the returned array

px_get_record

(PECL paradox >= 1.0.0) Returns record of paradox database array px_get_record ( resource $pxdoc, int $num [, int $mode = 0 ] ) Parameters: pxdoc Resource identifier of the paradox database as returned by px_new(). num The record number is an artificial number counting records in the order as they are stored in the database. The first

px_get_parameter

(PECL paradox >= 1.1.0) Gets a parameter string px_get_parameter ( resource $pxdoc, string $name ) Gets various parameters. Parameters: pxdoc Resource identifier of the paradox database as returned by px_new(). name The name can be one of the following: Returns: Returns the value of the parameter or FALSE on

px_get_info

(PECL paradox >= 1.0.0) Return lots of information about a paradox file array px_get_info ( resource $pxdoc ) Parameters: pxdoc Resource identifier of the paradox database as returned by px_new(). Returns: Returns an associated array with lots of information about a paradox file. This array is likely to be extended in the future. fileversion

px_get_field

(PECL paradox >= 1.0.0) Returns the specification of a single field array px_get_field ( resource $pxdoc, int $fieldno ) Parameters: pxdoc Resource identifier of the paradox database as returned by px_new(). fieldno Number of the field. The first field has number 0. Specifying a field number less than 0 and greater or equal the number

px_delete

(PECL paradox >= 1.0.0) Deletes resource of paradox database bool px_delete ( resource $pxdoc ) Deletes the resource of the paradox file and frees all memory. Parameters: pxdoc Resource identifier of the paradox database as returned by px_new(). Returns: Returns TRUE on success or FALSE on failure.

px_delete_record

(PECL paradox >= 1.4.0) Deletes record from paradox database bool px_delete_record ( resource $pxdoc, int $num ) This function deletes a record from the database. It does not free the space in the database file but just marks it as deleted. Inserting a new record afterwards will reuse the space. Note: This function is only available if pxlib >= 0.6.0 is used. Parameters: px

px_date2string

(PECL paradox >= 1.4.0) Converts a date into a string. string px_date2string ( resource $pxdoc, int $value, string $format ) Turns a date as it stored in the paradox file into human readable format. Paradox dates are the number of days since 1.1.0000. This function is just for convenience. It can be easily replaced by some math and the calendar functions as demonstrated in the example below. Parameters:

px_create_fp

(PECL paradox >= 1.0.0) Create a new paradox database bool px_create_fp ( resource $pxdoc, resource $file, array $fielddesc ) Create a new paradox database file. The actual file has to be opened before with fopen(). Make sure the file is writable. Note: Calling this functions issues a warning about an empty tablename which can be safely ignored. Just set the tablename afterwards with px_set_parameter(). Note: This f