<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.mysql.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'mysql.constants.php',
    1 => 'Vordefinierte Konstanten',
    2 => 'Vordefinierte Konstanten',
  ),
  'up' => 
  array (
    0 => 'book.mysql.php',
    1 => 'MySQL (Original)',
  ),
  'prev' => 
  array (
    0 => 'changelog.mysql.php',
    1 => 'Changelog',
  ),
  'next' => 
  array (
    0 => 'mysql.examples.php',
    1 => 'Beispiele',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'de',
    'path' => 'reference/mysql/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mysql.constants" class="appendix">
 <h1 class="title">Vordefinierte Konstanten</h1>

 <p class="simpara">Folgende Konstanten werden von dieser
Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder
statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen
wurde.</p>
 <p class="para">
  Es ist möglich, zusätzliche Client-Flags bei den Funktionen
  <span class="function"><a href="function.mysql-connect.php" class="function">mysql_connect()</a></span> und <span class="function"><a href="function.mysql-pconnect.php" class="function">mysql_pconnect()</a></span>
  anzugeben. Die folgenden Konstanten sind definiert:
  <table id="mysql.client-flags" class="doctable table">
   <caption><strong>MySQL-Client-Konstanten</strong></caption>
    
     <thead>
      <tr>
       <th>Konstante</th>
       <th>Beschreibung</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr id="constant.mysql-client-compress">
       <td><strong><code><a href="mysql.constants.php#constant.mysql-client-compress">MYSQL_CLIENT_COMPRESS</a></code></strong></td>
       <td>Verwende das Kompressionsprotokoll</td>
      </tr>

      <tr id="constant.mysql-client-ignore-space">
       <td><strong><code><a href="mysql.constants.php#constant.mysql-client-ignore-space">MYSQL_CLIENT_IGNORE_SPACE</a></code></strong></td>
       <td>Erlaubt Leerzeichen nach Funktionsnamen</td>
      </tr>

      <tr id="constant.mysql-client-interactive">
       <td><strong><code><a href="mysql.constants.php#constant.mysql-client-interactive">MYSQL_CLIENT_INTERACTIVE</a></code></strong></td>
       <td>
        Erlaubt Inaktivität von interactive_timeout Sekunden (anstatt
        wait_timeout), bevor die Verbindung geschlossen wird.
       </td>
      </tr>

      <tr id="constant.mysql-client-ssl">
       <td><strong><code><a href="mysql.constants.php#constant.mysql-client-ssl">MYSQL_CLIENT_SSL</a></code></strong></td>
       <td>
        Verwende SSL-Verschlüsselung. Dieses Flag kann nur mit Version 4.x der
        MySQL-Client-Bibliothek oder neuer verwendet werden. Mit PHP 4 und den
        Windows Binaries für PHP 5 wird nur Version 3.23.x mitgeliefert.
       </td>
      </tr>

     </tbody>
    
  </table>

 </p>

 <p class="para">
  Die Funktion <span class="function"><a href="function.mysql-fetch-array.php" class="function">mysql_fetch_array()</a></span> verwendet eine Konstante
  für die verschiedenen Arten der Ergebnisarrays. Die folgenden Konstanten
  sind definiert:
  <table id="mysql.constants.fetch" class="doctable table">
   <caption><strong>MySQL-fetch-Konstanten</strong></caption>
   
    <thead>
     <tr>
      <th>Konstante</th>
      <th>Beschreibung</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr id="constant.mysql-assoc">
      <td><strong><code><a href="mysql.constants.php#constant.mysql-assoc">MYSQL_ASSOC</a></code></strong></td>
      <td>
       Spalten werden in einem assoziativen Array zurückgegeben.
      </td>
     </tr>

     <tr id="constant.mysql-both">
      <td><strong><code><a href="mysql.constants.php#constant.mysql-both">MYSQL_BOTH</a></code></strong></td>
      <td>
       Spalten werden sowohl als assoziatives als auch als numerisches Array
       zurückgegeben.
      </td>
     </tr>

     <tr id="constant.mysql-num">
      <td><strong><code><a href="mysql.constants.php#constant.mysql-num">MYSQL_NUM</a></code></strong></td>
      <td>
       Spalten werden als numerisches Array zurückgegeben. Der Index beginnt
       bei 0, dieser entspricht dem ersten Feld des Ergebnisses.
      </td>
     </tr>

    </tbody>
   
  </table>

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