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

31 lines
2.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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>获得查询结果的错误信息</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.pg-result-error" class="refentry">
<div class="refnamediv">
<h1 class="refname">pg_result_error</h1>
<p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5, PHP 7)</p><p class="refpurpose"><span class="refname">pg_result_error</span> &mdash; <span class="dc-title">
获得查询结果的错误信息
</span></p>
</div>
<div class="refsect1 unknown-seealsp" id="refsect1-function.pg-result-error-unknown-seealsp">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>pg_result_error</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$result</code></span>
) : <span class="type">string</span></div>
<p class="para rdfs-comment">
<span class="function"><strong>pg_result_error()</strong></span> 返回和 <code class="parameter">result</code> 资源关联的错误信息。因此用户更有机会可以得到比 <span class="function"><a href="pg_last_error.html" class="function">pg_last_error()</a></span> 更好的错误信息。
</p>
<p class="para">
参见 <span class="function"><a href="pg_query.html" class="function">pg_query()</a></span><span class="function"><a href="pg_send_query.html" class="function">pg_send_query()</a></span><span class="function"><a href="pg_get_result.html" class="function">pg_get_result()</a></span><span class="function"><a href="pg_last_error.html" class="function">pg_last_error()</a></span><span class="function"><a href="pg_last_notice.html" class="function">pg_last_notice()</a></span>
</p>
</div>
</div></div></div></body></html>