PHP filePro Functions

EditRocket provides the following information on filePro functions in the PHP source code builder.

bool filepro ( string $directory ) - This reads and verifies the map file, storing the field count and info.

int filepro_fieldcount ( void ) - Returns the number of fields (columns) in the opened filePro database.

string filepro_fieldname ( int $field_number ) - Returns the name of the field corresponding to field_number.

string filepro_fieldtype ( int $field_number ) - Returns the edit type of the field corresponding to field_number.

int filepro_fieldwidth ( int $field_number ) - Returns the width of the field corresponding to field_number.

string filepro_retrieve ( int $row_number , int $field_number ) - Returns the data from the specified location in the database.

int filepro_rowcount ( void ) - Returns the number of rows in the opened filePro database.