PHP Doku:: Returns record of paradox database - function.px-get-record.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische DatenbankerweiterungenParadox File AccessParadox Funktionenpx_get_record

Ein Service von Reinhard Neidl - Webprogrammierung.

Paradox Funktionen

<<px_get_parameter

px_get_schema>>

px_get_record

(PECL paradox >= 1.0.0)

px_get_recordReturns record of paradox database

Beschreibung

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

Parameter-Liste

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.

Rückgabewerte

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

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)