1
0
mirror of https://github.com/php/doc-de.git synced 2026-03-24 07:12:15 +01:00
Files
archived-doc-de/reference/mysql/constants.xml
Martin Samesch de20a0091e sync with EN
2021-03-11 20:51:22 +01:00

110 lines
3.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 40667918dcff1d5c9f7ecdc88b5caca24ba0686c Maintainer: simp Status: ready -->
<!-- Credits: hholzgra -->
<appendix xml:id="mysql.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<para>
Es ist möglich, zusätzliche Client-Flags bei den Funktionen
<function>mysql_connect</function> und <function>mysql_pconnect</function>
anzugeben. Die folgenden Konstanten sind definiert:
<table xml:id="mysql.client-flags">
<title>MySQL-Client-Konstanten</title>
<tgroup cols="2">
<thead>
<row>
<entry>Konstante</entry>
<entry>Beschreibung</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.mysql-client-compress">
<entry><constant>MYSQL_CLIENT_COMPRESS</constant></entry>
<entry>Verwende das Kompressionsprotokoll</entry>
</row>
<row xml:id="constant.mysql-client-ignore-space">
<entry><constant>MYSQL_CLIENT_IGNORE_SPACE</constant></entry>
<entry>Erlaubt Leerzeichen nach Funktionsnamen</entry>
</row>
<row xml:id="constant.mysql-client-interactive">
<entry><constant>MYSQL_CLIENT_INTERACTIVE</constant></entry>
<entry>
Erlaubt Inaktivität von interactive_timeout Sekunden (anstatt
wait_timeout), bevor die Verbindung geschlossen wird.
</entry>
</row>
<row xml:id="constant.mysql-client-ssl">
<entry><constant>MYSQL_CLIENT_SSL</constant></entry>
<entry>
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.
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
<para>
Die Funktion <function>mysql_fetch_array</function> verwendet eine Konstante
für die verschiedenen Arten der Ergebnisarrays. Die folgenden Konstanten
sind definiert:
<table xml:id="mysql.constants.fetch">
<title>MySQL-fetch-Konstanten</title>
<tgroup cols="2">
<thead>
<row>
<entry>Konstante</entry>
<entry>Beschreibung</entry>
</row>
</thead>
<tbody>
<row xml:id="constant.mysql-assoc">
<entry><constant>MYSQL_ASSOC</constant></entry>
<entry>
Spalten werden in einem assoziativen Array zurückgegeben.
</entry>
</row>
<row xml:id="constant.mysql-both">
<entry><constant>MYSQL_BOTH</constant></entry>
<entry>
Spalten werden sowohl als assoziatives als auch als numerisches Array
zurückgegeben.
</entry>
</row>
<row xml:id="constant.mysql-num">
<entry><constant>MYSQL_NUM</constant></entry>
<entry>
Spalten werden als numerisches Array zurückgegeben. Der Index beginnt
bei 0, dieser entspricht dem ersten Feld des Ergebnisses.
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</appendix>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->