PHP 5 < 5.3.0, dbase 5, dbase 7
dbase_pack - Packs a database
Code Examples

dbase_pack( resource$database ): bool

Packs the specified database by permanently deleting all records marked for deletion using dbase_delete_record. Note that the file will be truncated after successful packing (contrary to dBASE III's PACK command).



The database resource, returned by dbase_open or dbase_create.

Return Values

Returns true on success or false on failure.


Version Description
dbase 7.0.0 database is now a resource instead of an int.

Related Functions

Example of dbase_pack

Show all examples for dbase_pack

PHP Version:

Function dbase_pack:

dBase Functions

Most used PHP functions