php-doc-en/reference/dbase/functions/dbase-replace-record.xml

53 lines
1.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- splitted from ./en/functions/dbase.xml, last change in rev 1.2 -->
<refentry id="function.dbase-replace-record">
<refnamediv>
<refname>dbase_replace_record</refname>
<refpurpose>Replace a record in a dBase database</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>dbase_replace_record</methodname>
<methodparam><type>int</type><parameter>dbase_identifier</parameter></methodparam>
<methodparam><type>array</type><parameter>record</parameter></methodparam>
<methodparam><type>int</type><parameter>dbase_record_number</parameter></methodparam>
</methodsynopsis>
<simpara>
Replaces the data associated with the record
<parameter>record_number</parameter> with the data in the
<parameter>record</parameter> in the database. If the number of
items in the supplied record is not equal to the number of fields
in the database, the operation will fail and &false; will be
returned.
</simpara>
<simpara>
<parameter>dbase_record_number</parameter> is an integer which
spans from 1 to the number of records in the database (as
returned by <function>dbase_numrecords</function>).
</simpara>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->