Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 3586

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ifx-do.html">ifx_do</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ifx-errormsg.html">ifx_errormsg</a></div>
 <div class="up"><a href="ref.ifx.html">Informix Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ifx-error" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ifx_error</h1>
  <p class="verinfo">(PHP 4, PHP &lt;=5.2.0)</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">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>ifx_error</strong></span>
    ([ <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link_identifier</code></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">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">link_identifier</code></em></span>
     <dd>

      <p class="para">
       The link identifier.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ifx-error-returnvalues">
  <h3 class="title">Return Values</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">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.ifx-errormsg.html" class="function" rel="rdfs-seeAlso">ifx_errormsg()</a> - Returns error message of last Informix call</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ifx-do.html">ifx_do</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ifx-errormsg.html">ifx_errormsg</a></div>
 <div class="up"><a href="ref.ifx.html">Informix Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>