Sponsored Content
Full Discussion: How old are you?
The Lounge What is on Your Mind? How old are you? Post 302817449 by Swathe on Wednesday 5th of June 2013 11:06:53 PM
Old 06-06-2013
33 and counting
 
PX_RETRIEVE_RECORD(3)													     PX_RETRIEVE_RECORD(3)

px_retrieve_record - Returns record of paradox database

SYNOPSIS
array px_retrieve_record (resource $pxdoc, int $num, [int $mode]) DESCRIPTION
This function is very similar to px_get_record(3) but uses internally a different approach to retrieve the data. It relies on pxlib for reading each single field value, which usually results in support for more field types. Note This function is only available if pxlib >= 0.6.0 is used. PARAMETERS
o $pxdoc - Resource identifier of the paradox database as returned by px_new(3). o $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. o $mode - The optional $mode can be PX_KEYTOLOWER or PX_KEYTOUPPER in order to convert the keys 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 is a floating point value also counting milliseconds start- ing at the beginning of julian calendar. RETURN VALUES
Returns the $num'th record from the paradox database. The record is returned as an associated array with its keys being the field names. SEE ALSO
px_get_record(3). PHP Documentation Group PX_RETRIEVE_RECORD(3)
All times are GMT -4. The time now is 10:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy