From 3c0a275a029507a1d3f71e1b3355836a12244c74 Mon Sep 17 00:00:00 2001 From: jim winstead Date: Tue, 24 Apr 2001 02:45:58 +0000 Subject: [PATCH] remove some misleading (and unnecessary) text, and fix a few typos git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45757 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/dbase.xml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/functions/dbase.xml b/functions/dbase.xml index cdbe08ceac..bd741f67f8 100644 --- a/functions/dbase.xml +++ b/functions/dbase.xml @@ -13,22 +13,18 @@ modifying the same dBase file will very likely ruin your database. - Unlike SQL databases, dBase "databases" cannot change the database - definition afterwards. Once the file is created, the database - definition is fixed. There are no indexes that speed searching or - otherwise organize your data. dBase files are simple sequential - files of fixed length records. Records are appended to the end of + dBase files are simple sequential files of fixed + length records. Records are appended to the end of the file and delete records are kept until you call - dbase_pack(). + dbase_pack. We recommend that you do not use dBase files as your production database. Choose any real SQL server instead; MySQL or Postgres are common choices with PHP. dBase support is here to allow you to - import and export data to and from your web database, since the - file format is commonly understood with Windows spreadsheets and - organizers. Import and export of data is about all that dBase - support is good for. + import and export data to and from your web database, because the + file format is commonly understood by Windows spreadsheets and + organizers. @@ -190,7 +186,7 @@ if (!dbase_create($dbname, $def)) Packs the specified database (permanently deleting all records marked for deletion using - dbase_delete_record. + dbase_delete_record). @@ -210,7 +206,7 @@ if (!dbase_create($dbname, $def)) - Adds the data in the record to the + Adds the data in the record to the database. If the number of items in the supplied record isn't equal to the number of fields in the database, the operation will fail and false will be returned. @@ -321,7 +317,7 @@ if (!dbase_create($dbname, $def)) Returns the data from record in an associative array. The array also includes an associative member named 'deleted' which is set to 1 if the record has been marked - for deletion (see dbase_delete_record. + for deletion (see dbase_delete_record). Each field is converted to the appropriate PHP type. (Dates are