uTools-Manuals/docs/php/ifx_error.html
2019-04-28 19:00:34 +08:00

95 lines
2.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Returns error code of last Informix call</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.ifx-error" class="refentry">
<div class="refnamediv">
<h1 class="refname">ifx_error</h1>
<p class="verinfo">(PHP 4, PHP 5 &lt; 5.2.1)</p><p class="refpurpose"><span class="refname">ifx_error</span> &mdash; <span class="dc-title">Returns error code of last Informix call</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.ifx-error-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>ifx_error</strong></span>
([ <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link_identifier</code></span>
] ) : <span class="type">string</span></div>
<p class="para rdfs-comment">
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.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.ifx-error-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">link_identifier</code></dt>
<dd>
<p class="para">
The link identifier.
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.ifx-error-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
The Informix error codes (SQLSTATE &amp; SQLCODE) formatted as
<em>x [SQLSTATE = aa bbb SQLCODE=cccc]</em>.
</p>
<p class="para">
where x = space : no error
</p>
<p class="para">
E : error
</p>
<p class="para">
N : no more data
</p>
<p class="para">
W : warning
</p>
<p class="para">
? : undefined
</p>
<p class="para">
If the &quot;x&quot; character is anything other than space, SQLSTATE and
SQLCODE describe the error in more detail.
</p>
<p class="para">
See the Informix manual for the description of SQLSTATE and
SQLCODE
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.ifx-error-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="ifx_errormsg.html" class="function" rel="rdfs-seeAlso">ifx_errormsg()</a> - Returns error message of last Informix call</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>