downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | 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 Git repository for this website on git.php.net.

Source of: /manual/ja/function.odbc-exec.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/ref.uodbc.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'ja',
  ),
 
'this' =>
  array (
   
0 => 'function.odbc-exec.php',
   
1 => 'odbc_exec',
  ),
 
'up' =>
  array (
   
0 => 'ref.uodbc.php',
   
1 => 'ODBC 関数',
  ),
 
'prev' =>
  array (
   
0 => 'function.odbc-errormsg.php',
   
1 => 'odbc_errormsg',
  ),
 
'next' =>
  array (
   
0 => 'function.odbc-execute.php',
   
1 => 'odbc_execute',
  ),
 
'alternatives' =>
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="function.odbc-exec" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">odbc_exec</h1>
  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">odbc_exec</span> &mdash; <span class="dc-title">SQL文を準備し、実行する</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.odbc-exec-description">
  <h3 class="title">説明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">resource</span> <span class="methodname"><strong>odbc_exec</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$connection_id</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$query_string</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code></span>
  ] )</div>

  <p class="para rdfs-comment">
   SQL 命令を
   データベースサーバーに送ります。
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.odbc-exec-parameters">
  <h3 class="title">パラメータ</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">connection_id</code></em></span>
     <dd>

      <p class="para">ODBC 接続 ID。詳細は
 <span class="function"><a href="function.odbc-connect.php" class="function">odbc_connect()</a></span> を参照ください。</p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">query_string</code></em></span>
     <dd>

      <p class="para">
       SQL 文。
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">flags</code></em></span>
     <dd>

      <p class="para">
       このパラメータは現在使用していません。
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.odbc-exec-returnvalues">
  <h3 class="title">返り値</h3>
  <p class="para">
   SQL コマンドの実行に成功した場合には、
   ODBC 結果 ID を返します。エラー時には、<strong><code>FALSE</code></strong>を返します。
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.odbc-exec-seealso">
  <h3 class="title">参考</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.odbc-prepare.php" class="function" rel="rdfs-seeAlso">odbc_prepare()</a> - 実行用に文を準備する</span></li>
    <li class="member"> <span class="function"><a href="function.odbc-execute.php" class="function" rel="rdfs-seeAlso">odbc_execute()</a> - プリペアドステートメントを実行する</span></li>
   </ul>
  </p>
 </div>

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