mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-25 17:32:07 +01:00
111 lines
3.6 KiB
XML
111 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 40667918dcff1d5c9f7ecdc88b5caca24ba0686c Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
|
|
<appendix xml:id="mysql.constants" xmlns="http://docbook.org/ns/docbook">
|
|
&reftitle.constants;
|
|
&extension.constants;
|
|
<para>
|
|
Il est possible de spécifier des options de client
|
|
supplémentaires pour les fonctions <function>mysql_connect</function> et
|
|
<function>mysql_pconnect</function>. Ces constantes sont les suivantes :
|
|
<table xml:id="mysql.client-flags">
|
|
<title>Constantes client MySQL</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Constante</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.mysql-client-compress">
|
|
<entry><constant>MYSQL_CLIENT_COMPRESS</constant></entry>
|
|
<entry>Utilise le protocole avec compression</entry>
|
|
</row>
|
|
<row xml:id="constant.mysql-client-ignore-space">
|
|
<entry><constant>MYSQL_CLIENT_IGNORE_SPACE</constant></entry>
|
|
<entry>Autorise les espaces après les noms de fonction</entry>
|
|
</row>
|
|
<row xml:id="constant.mysql-client-interactive">
|
|
<entry><constant>MYSQL_CLIENT_INTERACTIVE</constant></entry>
|
|
<entry>Autorise <option>interactive_timeout</option> secondes
|
|
d'inactivité sur la connexion (au lieu de <option>wait_timeout</option>).</entry>
|
|
</row>
|
|
<row xml:id="constant.mysql-client-ssl">
|
|
<entry><constant>MYSQL_CLIENT_SSL</constant></entry>
|
|
<entry>Utilisation du chiffrement SSL. Cette constante n'est disponible
|
|
qu'à partir de la version 4.x et plus récente de la bibliothèque cliente MySQL.
|
|
La version 3.23.x est fournis avec PHP 4 ainsi qu'avec les binaires
|
|
pour windows de PHP 5.</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
|
|
<para>
|
|
La fonction <function>mysql_fetch_array</function> utilise une constante
|
|
pour spécifier les différents types de formats de réponse. Les constantes
|
|
suivantes sont utilisées :
|
|
<table xml:id="mysql.constants.fetch">
|
|
<title>Constantes de <function>mysql_fetch_array</function></title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Constante</entry>
|
|
<entry>Description</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row xml:id="constant.mysql-assoc">
|
|
<entry><constant>MYSQL_ASSOC</constant></entry>
|
|
<entry>
|
|
Les colonnes sont retournées dans un tableau, dont les index
|
|
sont les noms de colonnes.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.mysql-both">
|
|
<entry><constant>MYSQL_BOTH</constant></entry>
|
|
<entry>
|
|
Les colonnes sont retournées dans un tableau ayant une indexation
|
|
numérique et un système d'index correspondant au nom des colonnes.
|
|
</entry>
|
|
</row>
|
|
<row xml:id="constant.mysql-num">
|
|
<entry><constant>MYSQL_NUM</constant></entry>
|
|
<entry>
|
|
Les colonnes sont retournées dans un tableau avec un index numérique.
|
|
Les colonnes sont numérotées dans leur ordre d'apparition. L'index
|
|
commence à zéro.
|
|
</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
|
|
-->
|
|
|