mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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
This commit is contained in:
parent
bf49514ac3
commit
3c0a275a02
1 changed files with 9 additions and 13 deletions
|
@ -13,22 +13,18 @@
|
|||
modifying the same dBase file will very likely ruin your database.
|
||||
</simpara>
|
||||
<simpara>
|
||||
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
|
||||
<function>dbase_pack()</function>.
|
||||
<function>dbase_pack</function>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
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.
|
||||
</simpara>
|
||||
</partintro>
|
||||
|
||||
|
@ -190,7 +186,7 @@ if (!dbase_create($dbname, $def))
|
|||
<para>
|
||||
Packs the specified database (permanently deleting all records
|
||||
marked for deletion using
|
||||
<function>dbase_delete_record</function>.
|
||||
<function>dbase_delete_record</function>).
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
@ -210,7 +206,7 @@ if (!dbase_create($dbname, $def))
|
|||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
Adds the data in the <parameter>record </parameter>to the
|
||||
Adds the data in the <parameter>record</parameter> 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 <parameter>record</parameter> 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 <function>dbase_delete_record</function>.
|
||||
for deletion (see <function>dbase_delete_record</function>).
|
||||
</para>
|
||||
<para>
|
||||
Each field is converted to the appropriate PHP type. (Dates are
|
||||
|
|
Loading…
Reference in a new issue