<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = 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 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.odbc-exec.php',
    1 => 'odbc_exec',
    2 => 'Prepara ed esegue una espressione SQL',
  ),
  'up' => 
  array (
    0 => 'ref.uodbc.php',
    1 => 'ODBC Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.odbc-errormsg.php',
    1 => 'odbc_errormsg',
  ),
  'next' => 
  array (
    0 => 'function.odbc-execute.php',
    1 => 'odbc_execute',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/uodbc/functions/odbc-exec.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.odbc-exec" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">odbc_exec</h1>
    <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">odbc_exec</span> &mdash; <span class="dc-title">Prepara ed esegue una espressione SQL</span></p>

   </div>
   <div class="refsect1 unknown-163" id="refsect1-function.odbc-exec-unknown-163">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>odbc_exec</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$id_connessione</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$testo_query</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$flags</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span></div>

    <p class="para rdfs-comment">
     Restituisce <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> se si verifica un errore. Restituisce un
     identificatore del risultato ODBC se l&#039;espressione SQL viene eseguita correttamente.
    </p>
    <p class="para">
     <span class="function"><strong>odbc_exec()</strong></span> invia una espressione SQL
     al server tramite la connessione specificata da
     <code class="parameter">id_connessione</code>. Questo parametro deve essere
     un identificativo valido restituito da <span class="function"><a href="function.odbc-connect.php" class="function">odbc_connect()</a></span> oppure
     <span class="function"><a href="function.odbc-pconnect.php" class="function">odbc_pconnect()</a></span>.
    </p>
    <p class="simpara"> 
     Vedere anche: <span class="function"><a href="function.odbc-prepare.php" class="function">odbc_prepare()</a></span> e
     <span class="function"><a href="function.odbc-execute.php" class="function">odbc_execute()</a></span> per l&#039;esecuzione di molteplici
     espressioni SQL.
    </p>
   </div>

  </div><?php manual_footer($setup); ?>