Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 5883

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>Executes a query and returns either an array for one single column or the value of the first row</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.sqlite-seek.html">sqlite_seek</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.sqlite-udf-decode-binary.html">sqlite_udf_decode_binary</a></div>
 <div class="up"><a href="ref.sqlite.html">SQLite Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.sqlite-single-query" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">sqlite_single_query</h1>
  <h1 class="refname">SQLiteDatabase::singleQuery</h1>
  <p class="verinfo">(PHP 5 &lt; 5.4.0, PECL sqlite &gt;= 1.0.1)</p><p class="refpurpose"><span class="refname">sqlite_single_query</span> -- <span class="refname">SQLiteDatabase::singleQuery</span> &mdash; <span class="dc-title">
   Executes a query and returns either an array for one single column or the value of the first row
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.sqlite-single-query-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">array</span> <span class="methodname"><strong>sqlite_single_query</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$db</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$query</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$first_row_only</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$decode_binary</code></span>
  ]] )</div>

  <p class="para rdfs-comment">Object oriented style (method):</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">array</span> <span class="methodname"><strong>SQLiteDatabase::singleQuery</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$query</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$first_row_only</code></span>
   [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$decode_binary</code></span>
  ]] )</div>

  
  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">This function is
currently not documented; only its argument list is available.
</p></div>

 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.sqlite-seek.html">sqlite_seek</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.sqlite-udf-decode-binary.html">sqlite_udf_decode_binary</a></div>
 <div class="up"><a href="ref.sqlite.html">SQLite Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>