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.ovrimos-exec.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/ref.ovrimos.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'function.ovrimos-exec.php',
   
1 => 'ovrimos_exec',
  ),
 
'up' =>
  array (
   
0 => 'ref.ovrimos.php',
   
1 => 'Ovrimos SQL Functions',
  ),
 
'prev' =>
  array (
   
0 => 'function.ovrimos-cursor.php',
   
1 => 'ovrimos_cursor',
  ),
 
'next' =>
  array (
   
0 => 'function.ovrimos-execute.php',
   
1 => 'ovrimos_execute',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="function.ovrimos-exec" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ovrimos_exec</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.3, PHP 5 &lt;= 5.0.5)</p><p class="refpurpose"><span class="refname">ovrimos_exec</span> &mdash; <span class="dc-title">Executes an SQL statement</span></p>

 </div>
 
 <a name="function.ovrimos-exec.description"></a><div class="refsect1 description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><b>ovrimos_exec</b></span>
    ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$connection_id</tt></span>
   , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$query</tt></span>
   )</div>

  <p class="para rdfs-comment">
   Executes an SQL statement (query or update) and returns a result
   identifier.
  </p>
 </div>


 <a name="function.ovrimos-exec.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">connection_id</tt></i>
</span>

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

      <p class="para">
       The Ovrimos connection identifier, returned by
       <a href="function.ovrimos-connect.php" class="function">ovrimos_connect()</a>.
      </p>
     </dd>

   
    <dt class="varlistentry">

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

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

      <p class="para">
       The SQL statement. Evidently, it should not contain parameters.
       Use <a href="function.ovrimos-prepare.php" class="function">ovrimos_prepare()</a> for prepared statements.
      </p>
     </dd>

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


 <a name="function.ovrimos-exec.returnvalues"></a><div class="refsect1 returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns the result identifier as an integer, or <b><tt class="constant">FALSE</tt></b> on error.
  </p>
 </div>


 <a name="function.ovrimos-exec.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.ovrimos-execute.php" class="function" rel="rdfs-seeAlso">ovrimos_execute()</a> - Executes a prepared SQL statement</li>
    <li class="member"><a href="function.ovrimos-prepare.php" class="function" rel="rdfs-seeAlso">ovrimos_prepare()</a> - Prepares an SQL statement</li>
   </ul><p>
  </p>
 </div>


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