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

64 lines
3.2 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>Execute an SQL query</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.maxdb-real-query" class="refentry">
<div class="refnamediv">
<h1 class="refname">maxdb_real_query</h1>
<h1 class="refname">maxdb::real_query</h1>
<p class="verinfo">(PECL maxdb &gt;= 1.0)</p><p class="refpurpose"><span class="refname">maxdb_real_query</span> -- <span class="refname">maxdb::real_query</span> &mdash; <span class="dc-title">Execute an SQL query</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.maxdb-real-query-description">
<h3 class="title">说明</h3>
<p class="para">过程化风格</p>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>maxdb_real_query</strong></span>
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$link</code></span>
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$query</code></span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment">面向对象风格</p>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>maxdb::real_query</strong></span>
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$query</code></span>
) : <span class="type">bool</span></div>
<p class="para rdfs-comment">
The <span class="function"><strong>maxdb_real_query()</strong></span> is functionally identical
with the <span class="function"><a href="maxdb_query.html" class="function">maxdb_query()</a></span>.
</p>
<blockquote class="note"><p><strong class="note">Note</strong>:
<p class="para">
In order to determine if a given query should return a result set or not,
see <span class="function"><a href="maxdb_field_count.html" class="function">maxdb_field_count()</a></span>.
</p>
</p></blockquote>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.maxdb-real-query-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
成功时返回 <strong><code>TRUE</code></strong> 或者在失败时返回 <strong><code>FALSE</code></strong>
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.maxdb-real-query-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="maxdb_query.html" class="function" rel="rdfs-seeAlso">maxdb_query()</a> - Performs a query on the database</span></li>
<li class="member"><span class="function"><a href="maxdb_store_result.html" class="function" rel="rdfs-seeAlso">maxdb_store_result()</a> - Transfers a result set from the last query</span></li>
<li class="member"><span class="function"><a href="maxdb_use_result.html" class="function" rel="rdfs-seeAlso">maxdb_use_result()</a> - Initiate a result set retrieval</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>