PHP: px_get_record - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

px_get_schema px_get_parameter

Last updated: Fri, 26 Jan 2007

view this page in

# px_get_record

(PECL)

px_get_record -- Returns record of paradox database

## Описание

array px_get_record ( resource pxdoc, int num [, int mode] )

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

`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 record has number 0.

`mode`

  The optional `mode` can be `PX_KEYTOLOWER` or `PX_KEYTOUPPER` in order to convert the keys of the returned array into lower or upper case. If `mode` is not passed or is 0, then the key will be exactly like the field name. The element values will contain the field values. NULL values will be retained and are different from 0.0, 0 or the empty string. Fields of type `PX_FIELD_TIME` will be returned as an integer counting the number of milliseconds starting at midnight. A timestamp (`PX_FIELD_TIMESTAMP`) and date (`PX_FIELD_DATE`) are floating point respectively int values counting milliseconds respectively days starting at the beginning of julian calendar. Use the functions px-timestamp2string() and px-date2string() to convert them into a character representation.

## Возвращаемые значения

Returns the `num`'th record from the paradox database. The record is returned as an associated array with its keys being the field names.

## Смотрите также

px_retrieve_record()

add a note User Contributed Notes
px_get_record
There are no user contributed notes for this page.
px_get_schema px_get_parameter

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST