downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/function.ingres-execute.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/ref.ingres.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'function.ingres-execute.php',
   
1 => 'ingres_execute',
  ),
 
'up' =>
  array (
   
0 => 'ref.ingres.php',
   
1 => 'Ingres Functions',
  ),
 
'prev' =>
  array (
   
0 => 'function.ingres-escape-string.php',
   
1 => 'ingres_escape_string',
  ),
 
'next' =>
  array (
   
0 => 'function.ingres-fetch-array.php',
   
1 => 'ingres_fetch_array',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="function.ingres-execute" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ingres_execute</h1>
  <p class="verinfo">(PECL ingres &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">ingres_execute</span> &mdash; <span class="dc-title">Execute a prepared query</span></p>

 </div>
 
 <a name="function.ingres-execute.description"></a><div class="refsect1 description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">boolean</span> <span class="methodname"><b>ingres_execute</b></span>
    ( <span class="methodparam"><span class="type">resource</span> <tt class="parameter">$result</tt></span>
   [, <span class="methodparam"><span class="type">array</span> <tt class="parameter">$params</tt></span>
   [, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$types</tt></span>
  ]] )</div>

  <p class="para rdfs-comment">
   Execute a query prepared using <a href="function.ingres-prepare.php" class="function">ingres_prepare()</a>.
  </p>

  <blockquote><p><b class="note">Note</b>:
   <b>Related Configurations</b><br />
  
    See also the <a href="ingres.configuration.php#ini.ingres.describe" class="link">ingres.describe</a>,
    <a href="ingres.configuration.php#ini.ingres.scrollable" class="link">ingres.scrollable</a> and
    <a href="ingres.configuration.php#ini.ingres.utf8" class="link">ingres.utf8</a> directives in
    <a href="ingres.configuration.php" class="link">Runtime Configuration</a>.
   <br />
  </p></blockquote>
 </div>


 <a name="function.ingres-execute.parameters"></a><div class="refsect1 parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   </p><dl>

    <dt class="varlistentry">

     <span class="term"><i><tt class="parameter">result</tt></i>
</span>

     </dt><dd class="listitem">

      <p class="para">
       The result query identifier
      </p>
     </dd>

   
    <dt class="varlistentry">

     <span class="term"><i><tt class="parameter">params</tt></i>
</span>

     </dt><dd class="listitem">

      <p class="para">
       An array of parameter values to be used with the query
      </p>
     </dd>

   
    <dt class="varlistentry">

     <span class="term"><i><tt class="parameter">types</tt></i>
</span>

     </dt><dd class="listitem">

      <p class="para">
       A string containing a sequence of types for the parameter values
       passed. See the <a href="function.ingres-query.php#function.ingres-query.types" class="link">types</a> parameter in
       <a href="function.ingres-query.php" class="function">ingres_query()</a> for the list of type codes.
      </p>
     </dd>

   
   </dl>
<p>
  </p>
 </div>


 <a name="function.ingres-execute.returnvalues"></a><div class="refsect1 returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
  Returns <b><tt class="constant">TRUE</tt></b> on success or <b><tt class="constant">FALSE</tt></b> on failure.
  </p>
 </div>




 <a name="function.ingres-execute.seealso"></a><div class="refsect1 seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   </p><ul class="simplelist">
    <li class="member"><a href="function.ingres-unbuffered-query.php" class="function" rel="rdfs-seeAlso">ingres_unbuffered_query()</a> - Send an unbuffered  SQL query to Ingres</li>
    <li class="member"><a href="function.ingres-fetch-array.php" class="function" rel="rdfs-seeAlso">ingres_fetch_array()</a> - Fetch a row of result into an array</li>
    <li class="member"><a href="function.ingres-fetch-assoc.php" class="function" rel="rdfs-seeAlso">ingres_fetch_assoc()</a> - Fetch a row of result into an associative array</li>
    <li class="member"><a href="function.ingres-fetch-object.php" class="function" rel="rdfs-seeAlso">ingres_fetch_object()</a> - Fetch a row of result into an object</li>
    <li class="member"><a href="function.ingres-fetch-row.php" class="function" rel="rdfs-seeAlso">ingres_fetch_row()</a> - Fetch a row of result into an enumerated array</li>
    <li class="member"><a href="function.ingres-commit.php" class="function" rel="rdfs-seeAlso">ingres_commit()</a> - Commit a transaction</li>
    <li class="member"><a href="function.ingres-rollback.php" class="function" rel="rdfs-seeAlso">ingres_rollback()</a> - Roll back a transaction</li>
    <li class="member"><a href="function.ingres-autocommit.php" class="function" rel="rdfs-seeAlso">ingres_autocommit()</a> - Switch autocommit on or off</li>
    <li class="member"><a href="function.ingres-set-environment.php" class="function" rel="rdfs-seeAlso">ingres_set_environment()</a> - Set environment features controlling output options</li>
    <li class="member"><a href="function.ingres-errno.php" class="function" rel="rdfs-seeAlso">ingres_errno()</a> - Get the last Ingres error number generated</li>
    <li class="member"><a href="function.ingres-error.php" class="function" rel="rdfs-seeAlso">ingres_error()</a> - Get a meaningful error message for the last error generated</li>
   </ul><p>
  </p>
 </div>


</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites