mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-04-01 08:48:56 +00:00
83 lines
2.1 KiB
XML
83 lines
2.1 KiB
XML
![]() |
<?xml version="1.0" encoding="iso-8859-1"?>
|
||
|
<!-- $Revision: 1.1 $ -->
|
||
|
<!-- splitted from ./en/functions/paradox.xml, last change in rev -->
|
||
|
<refentry id="function.px-insert-record">
|
||
|
<refnamediv>
|
||
|
<refname>px_insert_record</refname>
|
||
|
<refpurpose>Inserts record into paradox database</refpurpose>
|
||
|
</refnamediv>
|
||
|
|
||
|
<refsect1 role="description">
|
||
|
&reftitle.description;
|
||
|
<methodsynopsis>
|
||
|
<type>int</type><methodname>px_insert_record</methodname>
|
||
|
<methodparam><type>resource</type><parameter>pxdoc</parameter></methodparam>
|
||
|
<methodparam><type>array</type><parameter>data</parameter></methodparam>
|
||
|
</methodsynopsis>
|
||
|
</refsect1>
|
||
|
|
||
|
<refsect1 role="parameters">
|
||
|
&reftitle.parameters;
|
||
|
<para>
|
||
|
<variablelist>
|
||
|
<varlistentry>
|
||
|
<term><parameter>pxdoc</parameter></term>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Resource identifier of the paradox database.
|
||
|
</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
<varlistentry>
|
||
|
<term><parameter>data</parameter></term>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Associated array containing the field values as returned by
|
||
|
<function>px_retrieve_record</function>.
|
||
|
</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
</variablelist>
|
||
|
</para>
|
||
|
<para>
|
||
|
This function inserts a new record into the database. The record
|
||
|
is stored into the first free slot found in the database.
|
||
|
</para>
|
||
|
<note>
|
||
|
<para>
|
||
|
This function is only available if pxlib >= 0.6.0 is used.
|
||
|
</para>
|
||
|
</note>
|
||
|
</refsect1>
|
||
|
|
||
|
<refsect1 role="returnvalues">
|
||
|
&reftitle.returnvalues;
|
||
|
<para>
|
||
|
Returns &false; on failure or the record number in case of success.
|
||
|
</para>
|
||
|
</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
|
||
|
-->
|
||
|
|