uTools-Manuals/docs/php/sqlite_error_string.html
2019-04-08 23:22:26 +08:00

72 lines
2.6 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 the textual description of an error code</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.sqlite-error-string" class="refentry">
<div class="refnamediv">
<h1 class="refname">sqlite_error_string</h1>
<p class="verinfo">(PHP 5 &lt; 5.4.0, PECL sqlite &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">sqlite_error_string</span> &mdash; <span class="dc-title">Returns the textual description of an error code</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.sqlite-error-string-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>sqlite_error_string</strong></span>
( <span class="methodparam"><span class="type">int</span> <code class="parameter">$error_code</code></span>
) : <span class="type">string</span></div>
<p class="para rdfs-comment">
Returns a human readable description of the
<code class="parameter">error_code</code> returned from
<span class="function"><a href="sqlite_last_error.html" class="function">sqlite_last_error()</a></span>.
</p>
</div>
<div class="refsect1 parameters" id="refsect1-function.sqlite-error-string-parameters">
<h3 class="title">参数</h3>
<p class="para">
<dl>
<dt>
<code class="parameter">error_code</code></dt>
<dd>
<p class="para">
The error code being used, which might be passed in from
<span class="function"><a href="sqlite_last_error.html" class="function">sqlite_last_error()</a></span>.
</p>
</dd>
</dl>
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.sqlite-error-string-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
Returns a human readable description of the <code class="parameter">error_code</code>,
as a <span class="type"><a href="language.types.string.html" class="type string">string</a></span>.
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.sqlite-error-string-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="sqlite_last_error.html" class="function" rel="rdfs-seeAlso">sqlite_last_error()</a> - Returns the error code of the last error for a database</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>