<?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 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.odbc-cursor.php',
    1 => 'odbc_cursor',
    2 => 'Lit le nom du pointeur de r&eacute;sultat courant',
  ),
  'up' => 
  array (
    0 => 'ref.uodbc.php',
    1 => 'Fonctions ODBC',
  ),
  'prev' => 
  array (
    0 => 'function.odbc-connection-string-should-quote.php',
    1 => 'odbc_connection_string_should_quote',
  ),
  'next' => 
  array (
    0 => 'function.odbc-data-source.php',
    1 => 'odbc_data_source',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/uodbc/functions/odbc-cursor.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.odbc-cursor" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">odbc_cursor</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">odbc_cursor</span> &mdash; <span class="dc-title">Lit le nom du pointeur de résultat courant</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.odbc-cursor-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>odbc_cursor</strong></span>(<span class="methodparam"><span class="type">Odbc\Result</span> <code class="parameter">$statement</code></span>): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>odbc_cursor()</strong></span> lit le nom du pointeur de résultat
   courant pour le résultat <code class="parameter">result_id</code>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.odbc-cursor-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">statement</code></dt>
     <dd>
      <p class="para">
       L’objet de résultat ODBC.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.odbc-cursor-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Retourne le nom du curseur, sous forme d&#039;une <a href="language.types.string.php" class="link">chaîne de caractères</a>,  ou <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> si une erreur survient.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.odbc-cursor-changelog">
  <h3 class="title">Historique</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version</th>
      <th>Description</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.4.0</td>
 <td>
  <code class="parameter">statement</code> attend désormais une instance de
  <span class="classname"><strong class="classname">Odbc\Result</strong></span>; auparavant, un <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> était attendu.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>

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