Re: cvs: phpdoc-fr /reference/msql/functions msql-db-query.xml msql-field-flags.xml msql-field-len.xml msql-field-name.xml msql-field-type.xml
| From: | Mehdi Achour | Date: | Tue, 30 Mar 2004 07:49:12 +0000 |
| Subject: | Re: cvs: phpdoc-fr /reference/msql/functions msql-db-query.xml msql-field-flags.xml msql-field-len.xml msql-field-name.xml msql-field-type.xml | ||
| References: | 1 | Groups: | php.doc.fr php.doc.fr |
| Request: | Send a blank email to doc-fr+get-2085@lists.php.net to get a copy of this message | ||
EN-Revision
Damien Seguy wrote:
dams Mon Mar 29 16:24:40 2004 EDTAdded files: /phpdoc-fr/reference/msql/functions msql-field-type.xml msql-field-len.xml msql-db-query.xml msql-field-name.xml msql-field-flags.xml Log:initial translation ------------------------------------------------------------------------ http://cvs.php.net/co.php/phpdoc-fr/reference/msql/functions/msql-field-type.xml?r=1.1&p=1 Index: phpdoc-fr/reference/msql/functions/msql-field-type.xml +++ phpdoc-fr/reference/msql/functions/msql-field-type.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.msql-field-type"> <refnamediv><refname>msql_field_type</refname> <refpurpose>Lit le type de champ mSQL</refpurpose></refnamediv> <refsect1><title>Description</title> <methodsynopsis> <type>string</type><methodname>msql_field_type</methodname> <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> <para> <function>msql_field_type</function> est similaire à la fonction <function>msql_field_name</function>. Les arguments sont identiques, mais le type de résultat est différent : ce sera <literal>"int"</literal>, <literal>"char"</literal> ou <literal>"real"</literal>. </para> <para> <function>msql_field_type</function> retourne &false; en cas d'échec. </para></refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/co.php/phpdoc-fr/reference/msql/functions/msql-field-len.xml?r=1.1&p=1 Index: phpdoc-fr/reference/msql/functions/msql-field-len.xml +++ phpdoc-fr/reference/msql/functions/msql-field-len.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.msql-field-len"> <refnamediv><refname>msql_field_len</refname> <refpurpose>Lit la taille du champ mSQL</refpurpose></refnamediv> <refsect1><title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_field_len</methodname> <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> <para> <function>msql_field_len</function> retourne la taille du champ <parameter>field_offset</parameter> dans le résultat mSQL <parameter>query_identifier</parameter>, ou &false; en cas d'erreur. </para></refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/co.php/phpdoc-fr/reference/msql/functions/msql-db-query.xml?r=1.1&p=1 Index: phpdoc-fr/reference/msql/functions/msql-db-query.xml +++ phpdoc-fr/reference/msql/functions/msql-db-query.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.msql-db-query"> <refnamediv><refname>msql</refname> <refpurpose>Soumet une requête mSQL</refpurpose></refnamediv> <refsect1><title>Description</title> <methodsynopsis> <type>resource</type><methodname>msql_db_query</methodname> <methodparam><type>string</type><parameter>database</parameter></methodparam> <methodparam><type>string</type><parameter>query</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam> </methodsynopsis> <para> <methodname>msql_db_query</methodname> retourne une ressource &php; qui représente le résultat de la requête, ou bien &false; en cas d'erreur. </para> <para> <function>msql_db_query</function> sélectionne une base de données, et exécute une requête. Si le paramètre optionnel <parameter>link_identifier</parameter> n'est pas spécifié, la fonction va tenter de trouver une connexion ouverte. S'il n'en trouve pas, il va alors en créer une en appelant la fonction <function>msql_connect</function> sans arguments. </para> <para> Voir aussi <function>msql_connect</function>. </para></refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/co.php/phpdoc-fr/reference/msql/functions/msql-field-name.xml?r=1.1&p=1 Index: phpdoc-fr/reference/msql/functions/msql-field-name.xml +++ phpdoc-fr/reference/msql/functions/msql-field-name.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.msql-field-name"> <refnamediv><refname>msql_field_name</refname> <refpurpose>Lit le nom du champs msql</refpurpose></refnamediv> <refsect1><title>Description</title> <methodsynopsis> <type>string</type><methodname>msql_field_name</methodname> <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>field</parameter></methodparam> </methodsynopsis> <para> <function>msql_field_name</function> retourne le nom du champs <parameter>field</parameter>, dans le résultat <parameter>query_identifier</parameter>. <literal>msql_field_name($result, 2);</literal> retournera le nom du deuxième champ du résultat. </para></refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/co.php/phpdoc-fr/reference/msql/functions/msql-field-flags.xml?r=1.1&p=1 Index: phpdoc-fr/reference/msql/functions/msql-field-flags.xml +++ phpdoc-fr/reference/msql/functions/msql-field-flags.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.msql-field-flags"> <refnamediv><refname>msql_field_flags</refname> <refpurpose>Lit les options de champs msql</refpurpose></refnamediv> <refsect1><title>Description</title> <methodsynopsis> <type>string</type><methodname>msql_field_flags</methodname> <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> <para> <function>msql_field_flags</function> retourne les options du champs <parameter>field_offset</parameter>, dans le résultat <parameter>query_identifier</parameter>. Actuellement, la fonction retourne les valeurs suivantes : <literal>"not &null;"</literal>, <literal>"primary key"</literal>, une combinaison des deux, ou encore <literal>""</literal>, la chaîne vide. </para></refsect1> </refentry> <!-- 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:"../../../../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 -->