CVS update: php3/doc/functions
| From: | eschmid | Date: | Thu, 17 Sep 1998 21:02:13 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1209@lists.php.net to get a copy of this message | ||
Date: Thursday September 17, 1998 @ 17:02
Author: eschmid
Update of /repository/php3/doc/functions
In directory asf:/u2/tmp/cvs-serv4164
Modified Files:
ifx.sgml
Log Message:
Hi Chris, the last one today. Here is some duplicated text?
Index: php3/doc/functions/ifx.sgml
diff -c php3/doc/functions/ifx.sgml:1.3 php3/doc/functions/ifx.sgml:1.4
*** php3/doc/functions/ifx.sgml:1.3 Thu Sep 17 16:13:37 1998
--- php3/doc/functions/ifx.sgml Thu Sep 17 17:02:12 1998
***************
*** 302,308 ****
--- 302,377 ----
</refsect1>
</refentry>
+ <refentry id="function.ifx-do">
+ <refnamediv>
+ <refname>ifx_do</refname>
+ <refpurpose>Execute a previously prepared SQL-statement</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>int <function>ifx_do</function></funcdef>
+ <paramdef>int <parameter>result_id</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ Returns TRUE on success, FALSE on error.
+ </para><para>
+ Executes a previously prepared query or opens a cursor for it.
+ </para><para>
+ Does NOT free <parameter>result_id</parameter> on error.
+ </para><para>
+ Also sets the real number of
+ <function>ifx_affected_rows</function> for non-select statements
+ for retrieval by <function>ifx_affected_rows</function>
+ </para><para>
+ See also: <function>ifx_prepare</function>. There is a example.
+ </refsect1>
+ </refentry>
+ <refentry id="function.ifx-error">
+ <refnamediv>
+ <refname>ifx_error</refname>
+ <refpurpose>Returns error code of last Informix call</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>string <function>ifx_error</function></funcdef>
+ <void>
+ </funcsynopsis>
+ <para>
+ The Informix error codes (SQLSTATE & SQLCODE) formatted as
+ follows :
+ </para><para>
+ x [SQLSTATE = aa bbb SQLCODE=cccc]
+ </para><para>
+ where x = space : no error
+ </para><para> E : error
+ </para><para> N : no more data
+ </para><para> W : warning
+ </para><para> ? : undefined
+ </para><para>
+ If the "x" character is anything other than space, SQLSTATE and
+ SQLCODE describe the error in more detail.
+ </para><para>
+ See the Informix manual for the description of SQLSTATE and
+ SQLCODE
+ </para><para>
+ Returns in a string one character describing the general results
+ of a statement and both SQLSTATE and SQLCODE associated with the
+ most recent SQL statement executed. The format of the string is
+ "(char) [SQLSTATE=(two digits) (three digits) SQLCODE=(one
+ digit)]". The first character can be '<literal> </literal>'
+ (space) (success), '<literal>W</literal>' (the statement caused
+ some warning), '<literal>E</literal>' (an error happened when
+ executing the statement) or '<literal>N</literal>' (the statement
+ didn't return any data).
+ </para><para> See also:
+ <function>ifx_errormsg</function>
+ </refsect1>
+ </refentry>
+
+
<!--
<refentry id="function.ifx-result">
<refnamediv>
***************
*** 365,396 ****
</refsect1>
</refentry>
- <refentry id="function.ifx-error">
- <refnamediv>
- <refname>ifx_error</refname>
- <refpurpose>returns error code of last Informix call</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <funcsynopsis>
- <funcdef>string <function>ifx_error</function></funcdef>
- <paramdef>int
<parameter><optional>link_identifier</optional></parameter></paramdef>
- </funcsynopsis>
- <para>
- Returns in a string one character describing the general results of a statement
- and both SQLSTATE and SQLCODE associated with the most recent SQL statement
- executed. The format of the string is "(char) [SQLSTATE=(two digits)
- (three digits) SQLCODE=(one digit)]". The first character can be '<literal>
</literal>'
- (space) (success), '<literal>W</literal>' (the statement caused some
warning),
- '<literal>E</literal>' (an error happened when executing the statement)
or
- '<literal>N</literal>' (the statement didn't return any data).
- <para>
- The optional "<parameter>link_identifier</parameter>" param is really
- optional. It isn't even used.
- <para>
- See also: <function>ifx_errormsg</function>
- </refsect1>
- </refentry>
<refentry id="function.ifx-fetch-row">
<refnamediv>
--- 434,439 ----
***************
*** 455,476 ****
</refentry>
- <refentry id="function.ifx-do">
- <refnamediv>
- <refname>ifx_do</refname>
- <refpurpose>to execute a previously prepared SQL-statement</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <funcsynopsis>
- <funcdef><function>ifx_do</function></funcdef>
- <paramdef><parameter></parameter></paramdef>
- </funcsynopsis>
- <para>
- <para>
- See also: <function>ifx_prepare</function>.
- </refsect1>
- </refentry>
<!-- blobs -->
--- 498,503 ----
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net