cvs: phpdoc-fr /reference/msql configure.xml constants.xml ini.xml reference.xml /reference/msql/functions msql-affected-rows.xml msql-close.xml
msql-connect.xml msql-create-db.xml msql-createdb.xml msql-data-seek.xml msql-dbname.xml msql-drop-db.xml msql-dropdb.xml msql-error.xml
msql-fetch-array.xml msql-fetch-field.xml msql-fetch-object.xml msql-fetch-row.xml msql-field-seek.xml msql-fieldflags.xml msql-fieldlen.xml
msql-fieldname.xml msql-fieldtable.xml msql-fieldtype.xml msql-free-result.xml msql-freeresult.xml msql-list-dbs.xml msql-list-fields.xml
msql-listdbs.xml msql-listfields.xml msql-listtables.xml msql-num-fields.xml msql-num-rows.xml msql-numfields.xml msql-numrows.xml msql-pconnect.xml
msql-query.xml msql-result.xml msql-select-db.xml msql-selectdb.xml msql-tablename.xml msql.xml

From: Date: Fri, 13 Jun 2003 16:22:43 +0000
Subject: cvs: phpdoc-fr /reference/msql configure.xml constants.xml ini.xml reference.xml /reference/msql/functions msql-affected-rows.xml msql-close.xml
msql-connect.xml msql-create-db.xml msql-createdb.xml msql-data-seek.xml msql-dbname.xml msql-drop-db.xml msql-dropdb.xml msql-error.xml
msql-fetch-array.xml msql-fetch-field.xml msql-fetch-object.xml msql-fetch-row.xml msql-field-seek.xml msql-fieldflags.xml msql-fieldlen.xml
msql-fieldname.xml msql-fieldtable.xml msql-fieldtype.xml msql-free-result.xml msql-freeresult.xml msql-list-dbs.xml msql-list-fields.xml
msql-listdbs.xml msql-listfields.xml msql-listtables.xml msql-num-fields.xml msql-num-rows.xml msql-numfields.xml msql-numrows.xml msql-pconnect.xml
msql-query.xml msql-result.xml msql-select-db.xml msql-selectdb.xml msql-tablename.xml msql.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-514@lists.php.net to get a copy of this message
dams Fri Jun 13 12:22:43 2003 EDT Added files: /phpdoc-fr/reference/msql configure.xml constants.xml ini.xml Modified files: /phpdoc-fr/reference/msql reference.xml /phpdoc-fr/reference/msql/functions msql-affected-rows.xml msql-close.xml msql-connect.xml msql-create-db.xml msql-createdb.xml msql-data-seek.xml msql-dbname.xml msql-drop-db.xml msql-dropdb.xml msql-error.xml msql-fetch-array.xml msql-fetch-field.xml msql-fetch-object.xml msql-fetch-row.xml msql-field-seek.xml msql-fieldflags.xml msql-fieldlen.xml msql-fieldname.xml msql-fieldtable.xml msql-fieldtype.xml msql-free-result.xml msql-freeresult.xml msql-list-dbs.xml msql-list-fields.xml msql-listdbs.xml msql-listfields.xml msql-listtables.xml msql-num-fields.xml msql-num-rows.xml msql-numfields.xml msql-numrows.xml msql-pconnect.xml msql-query.xml msql-result.xml msql-select-db.xml msql-selectdb.xml msql-tablename.xml msql.xml Log: adding latests functions

Index: phpdoc-fr/reference/msql/reference.xml diff -u phpdoc-fr/reference/msql/reference.xml:1.2 phpdoc-fr/reference/msql/reference.xml:1.3 --- phpdoc-fr/reference/msql/reference.xml:1.2 Mon Apr 15 20:54:27 2002 +++ phpdoc-fr/reference/msql/reference.xml Fri Jun 13 12:22:43 2003 @@ -1,19 +1,37 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <reference id="ref.msql"> <title>mSQL</title> <titleabbrev>mSQL</titleabbrev> + <partintro> - <simpara> + + <section id="msql.intro"> + &reftitle.intro; + <para> Ces fonctions vous permettent d'acc&eacute;der aux bases de donn&eacute;es - mSQL. Pour cela, vous devez compiler PHP avec le support msql, - en utilisant l'option de configuration - <link linkend="install.configure.with-msql"><option role="configure">--with-msql[=dir]</option></link>. - Par d&eacute;faut, le chemin est <filename>'/usr/local/Hughes'</filename>. - </simpara> - <simpara> - Plus d'informations sur mSQL &agrave; <ulink url="&url.msql;">&url.msql;</ulink>. - </simpara> + mSQL. Plus d'informations sur mSQL &agrave; <ulink url="&url.msql;">&url.msql;</ulink>. + </para> + </section> + + <section id="msql.requirements"> + &reftitle.required; + <para> + </para> + </section> + + &reference.msql.configure; + + &reference.msql.ini; + + <section id="msql.resources"> + &reftitle.resources; + <para> + </para> + </section> + + &reference.msql.constants; + </partintro> &reference.msql.functions; Index: phpdoc-fr/reference/msql/functions/msql-affected-rows.xml diff -u phpdoc-fr/reference/msql/functions/msql-affected-rows.xml:1.1 phpdoc-fr/reference/msql/functions/msql-affected-rows.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-affected-rows.xml:1.1 Sun Apr 14 20:33:40 2002 +++ phpdoc-fr/reference/msql/functions/msql-affected-rows.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-affected-rows"> <refnamediv> <refname>msql_affected_rows</refname> - <refpurpose>Retourne le nombre de ligne affect&eacute;es.</refpurpose> + <refpurpose>Retourne le nombre de ligne affect&eacute;es</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_affected_rows</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> </methodsynopsis> <para> <function>msql_affected_rows</function> retourne le nombre de Index: phpdoc-fr/reference/msql/functions/msql-close.xml diff -u phpdoc-fr/reference/msql/functions/msql-close.xml:1.1 phpdoc-fr/reference/msql/functions/msql-close.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-close.xml:1.1 Sun Apr 14 20:33:40 2002 +++ phpdoc-fr/reference/msql/functions/msql-close.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-close"> <refnamediv> <refname>msql_close</refname> - <refpurpose>Ferme une connexion mSQL.</refpurpose> + <refpurpose>Ferme une connexion mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_close</methodname> - <methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>link_identifier</parameter></methodparam> </methodsynopsis> <para> <function>msql_close</function> retourne &true; en cas de succ&egrave;s, Index: phpdoc-fr/reference/msql/functions/msql-connect.xml diff -u phpdoc-fr/reference/msql/functions/msql-connect.xml:1.1 phpdoc-fr/reference/msql/functions/msql-connect.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-connect.xml:1.1 Sun Apr 14 20:33:40 2002 +++ phpdoc-fr/reference/msql/functions/msql-connect.xml Fri Jun 13 12:22:43 2003 @@ -4,33 +4,25 @@ <refentry id="function.msql-connect"> <refnamediv> <refname>msql_connect</refname> - <refpurpose>Ouvre une connexion mSQL.</refpurpose> + <refpurpose>Ouvre une connexion mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>resource</type><methodname>msql_connect</methodname> - <methodparam choice="opt"><type>string</type><parameter> - hostname - </parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter> - hostname:port - </parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter> - username - </parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter> - password - </parameter></methodparam> + <type>int</type><methodname>msql_connect</methodname> + <methodparam choice="opt"><type>string</type><parameter>hostname</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>server</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> <para> - <function>msql_connect</function> retourne un identifiant de connexion - positif en cas de succ&egrave;s, et &false; sinon. - </para> - <para> <function>msql_connect</function> &eacute;tablit une connexion &agrave; un serveur mSQL. Le nom d'h&ocirc;te est optionnel, et lorsqu'il manque, localhost est utilis&eacute;. + </para> + <para> + <function>msql_connect</function> retourne un identifiant de connexion + positif en cas de succ&egrave;s, et &false; sinon. </para> <para> Si un deuxi&egrave;me appel est fait &agrave; Index: phpdoc-fr/reference/msql/functions/msql-create-db.xml diff -u phpdoc-fr/reference/msql/functions/msql-create-db.xml:1.1 phpdoc-fr/reference/msql/functions/msql-create-db.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-create-db.xml:1.1 Sun Apr 14 20:33:40 2002 +++ phpdoc-fr/reference/msql/functions/msql-create-db.xml Fri Jun 13 12:22:43 2003 @@ -4,14 +4,14 @@ <refentry id="function.msql-create-db"> <refnamediv> <refname>msql_create_db</refname> - <refpurpose>Cr&eacute;e une base de donn&eacute;es mSQL.</refpurpose> + <refpurpose>Cr&eacute;e une base de donn&eacute;es mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_create_db</methodname> <methodparam><type>string</type><parameter>database_name</parameter></methodparam> - <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam> </methodsynopsis> <para> <function>msql_create_db</function> essaie de cr&eacute;er une Index: phpdoc-fr/reference/msql/functions/msql-createdb.xml diff -u phpdoc-fr/reference/msql/functions/msql-createdb.xml:1.1 phpdoc-fr/reference/msql/functions/msql-createdb.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-createdb.xml:1.1 Sun Apr 14 20:33:40 2002 +++ phpdoc-fr/reference/msql/functions/msql-createdb.xml Fri Jun 13 12:22:43 2003 @@ -4,14 +4,14 @@ <refentry id="function.msql-createdb"> <refnamediv> <refname>msql_createdb</refname> - <refpurpose>Cr&eacute;e une base de donn&eacute;es mSQL.</refpurpose> + <refpurpose>Cr&eacute;e une base de donn&eacute;es mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_createdb</methodname> <methodparam><type>string</type><parameter>database_name</parameter></methodparam> - <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam> </methodsynopsis> <para> Identique &agrave; <function>msql_create_db</function>. Index: phpdoc-fr/reference/msql/functions/msql-data-seek.xml diff -u phpdoc-fr/reference/msql/functions/msql-data-seek.xml:1.1 phpdoc-fr/reference/msql/functions/msql-data-seek.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-data-seek.xml:1.1 Sun Apr 14 20:33:40 2002 +++ phpdoc-fr/reference/msql/functions/msql-data-seek.xml Fri Jun 13 12:22:43 2003 @@ -4,24 +4,23 @@ <refentry id="function.msql-data-seek"> <refnamediv> <refname>msql_data_seek</refname> - <refpurpose>D&eacute;place le pointeur interne.</refpurpose> + <refpurpose>D&eacute;place le pointeur interne mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>bool</type><methodname>msql_data_seek</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <type>int</type><methodname>msql_data_seek</methodname> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>row_number</parameter></methodparam> </methodsynopsis> <para> - <function>msql_data_seek</function> retourne &true; - en cas de succ&egrave;s, et &false; en cas d'&eacute;chec. - </para> - <para> <function>msql_data_seek</function> d&eacute;place le pointeur interne de r&eacute;sultat mSQL, et le place &agrave; l'offset donn&eacute;. Le prochain appel &agrave; la fonction to <function>msql_fetch_row</function> retournera cette ligne. + </para> + <para> + &return.success; </para> <para> Voir aussi Index: phpdoc-fr/reference/msql/functions/msql-dbname.xml diff -u phpdoc-fr/reference/msql/functions/msql-dbname.xml:1.1 phpdoc-fr/reference/msql/functions/msql-dbname.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-dbname.xml:1.1 Sun Apr 14 20:33:40 2002 +++ phpdoc-fr/reference/msql/functions/msql-dbname.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-dbname"> <refnamediv> <refname>msql_dbname</refname> - <refpurpose>Lit le nom de la base de donn&eacute;es courante.</refpurpose> + <refpurpose>Lit le nom de la base de donn&eacute;es courante</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>msql_dbname</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>i</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-drop-db.xml diff -u phpdoc-fr/reference/msql/functions/msql-drop-db.xml:1.1 phpdoc-fr/reference/msql/functions/msql-drop-db.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-drop-db.xml:1.1 Sun Apr 14 20:33:40 2002 +++ phpdoc-fr/reference/msql/functions/msql-drop-db.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-drop-db"> <refnamediv> <refname>msql_drop_db</refname> - <refpurpose>Efface une base de donn&eacute;es mSQL.</refpurpose> + <refpurpose>Efface une base de donn&eacute;es mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -14,13 +14,12 @@ <methodparam><type>int</type><parameter>link_identifier</parameter></methodparam> </methodsynopsis> <para> - <function>msql_drop_db</function> retourne &true; - en cas de succ&egrave;s, et &false; en cas d'&eacute;chec. - </para> - <para> <function>msql_drop_db</function> essaie d'effacer une base de donn&eacute;es enti&egrave;re sur le serveur r&eacute;f&eacute;renc&eacute; par l'identifiant - fourni. + <parameter>link_identifier</parameter>. + </para> + <para> + &return.success; </para> <para> Voir aussi Index: phpdoc-fr/reference/msql/functions/msql-dropdb.xml diff -u phpdoc-fr/reference/msql/functions/msql-dropdb.xml:1.1 phpdoc-fr/reference/msql/functions/msql-dropdb.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-dropdb.xml:1.1 Sun Apr 14 20:33:41 2002 +++ phpdoc-fr/reference/msql/functions/msql-dropdb.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-dropdb"> <refnamediv> <refname>msql_dropdb</refname> - <refpurpose>Efface une base de donn&eacute;es mSQL.</refpurpose> + <refpurpose>Efface une base de donn&eacute;es mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/msql/functions/msql-error.xml diff -u phpdoc-fr/reference/msql/functions/msql-error.xml:1.1 phpdoc-fr/reference/msql/functions/msql-error.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-error.xml:1.1 Sun Apr 14 20:33:41 2002 +++ phpdoc-fr/reference/msql/functions/msql-error.xml Fri Jun 13 12:22:43 2003 @@ -4,18 +4,18 @@ <refentry id="function.msql-error"> <refnamediv> <refname>msql_error</refname> - <refpurpose>Retourne le message d'erreur</refpurpose> + <refpurpose>Retourne le message d'erreur mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>msql_error</methodname> - <void/> + <methodparam choice="opt"><type>int</type><parameter>link_identifier</parameter></methodparam> </methodsynopsis> <para> - Les erreurs g&eacute;n&eacute;r&eacute;es par mSQL ne sont plus - trait&eacute;es comme des alertes. Au lieu de cela, elles sont - stock&eacute;es, et accessibles &agrave; partir de cette fonction. + <function>msql_error</function> retourne les erreurs renvoy&eacute;es + par le serveur. Les erreurs g&eacute;n&eacute;r&eacute;es par mSQL ne sont plus + trait&eacute;es comme des alertes. </para> </refsect1> </refentry> Index: phpdoc-fr/reference/msql/functions/msql-fetch-array.xml diff -u phpdoc-fr/reference/msql/functions/msql-fetch-array.xml:1.2 phpdoc-fr/reference/msql/functions/msql-fetch-array.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-fetch-array.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-fetch-array.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-fetch-array"> <refnamediv> <refname>msql_fetch_array</refname> - <refpurpose>Lit une ligne sous la forme d'un tableau.</refpurpose> + <refpurpose>Lit une ligne sous la forme d'un tableau</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_fetch_array</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-fetch-field.xml diff -u phpdoc-fr/reference/msql/functions/msql-fetch-field.xml:1.2 phpdoc-fr/reference/msql/functions/msql-fetch-field.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-fetch-field.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-fetch-field.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-fetch-field"> <refnamediv> <refname>msql_fetch_field</refname> - <refpurpose>Lit la valeur d'un champ.</refpurpose> + <refpurpose>Lit la valeur d'un champs mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>object</type><methodname>msql_fetch_field</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-fetch-object.xml diff -u phpdoc-fr/reference/msql/functions/msql-fetch-object.xml:1.1 phpdoc-fr/reference/msql/functions/msql-fetch-object.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-fetch-object.xml:1.1 Sun Apr 14 20:33:41 2002 +++ phpdoc-fr/reference/msql/functions/msql-fetch-object.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-fetch-object"> <refnamediv> <refname>msql_fetch_object</refname> - <refpurpose>Lit une ligne sous la forme d'un objet.</refpurpose> + <refpurpose>Lit une ligne sous la forme d'un objet</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_fetch_object</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>result_type</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-fetch-row.xml diff -u phpdoc-fr/reference/msql/functions/msql-fetch-row.xml:1.2 phpdoc-fr/reference/msql/functions/msql-fetch-row.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-fetch-row.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-fetch-row.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-fetch-row"> <refnamediv> <refname>msql_fetch_row</refname> - <refpurpose>Retourne une ligne sous la forme d'un objet.</refpurpose> + <refpurpose>Retourne une ligne sous la forme d'un objet</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/msql/functions/msql-field-seek.xml diff -u phpdoc-fr/reference/msql/functions/msql-field-seek.xml:1.2 phpdoc-fr/reference/msql/functions/msql-field-seek.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-field-seek.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-field-seek.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-field-seek"> <refnamediv> <refname>msql_field_seek</refname> - <refpurpose>Fixe l'indice d'un champ.</refpurpose> + <refpurpose>Fixe d'offset d'un champs mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_field_seek</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-fieldflags.xml diff -u phpdoc-fr/reference/msql/functions/msql-fieldflags.xml:1.2 phpdoc-fr/reference/msql/functions/msql-fieldflags.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-fieldflags.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-fieldflags.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-fieldflags"> <refnamediv> <refname>msql_fieldflags</refname> - <refpurpose>Retourne le flag d'un champ.</refpurpose> + <refpurpose>Retourne le flag d'un champs mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>msql_fieldflags</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>i</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-fieldlen.xml diff -u phpdoc-fr/reference/msql/functions/msql-fieldlen.xml:1.2 phpdoc-fr/reference/msql/functions/msql-fieldlen.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-fieldlen.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-fieldlen.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-fieldlen"> <refnamediv> <refname>msql_fieldlen</refname> - <refpurpose>Retourne la longueur d'un champ.</refpurpose> + <refpurpose>Retourne la longueur d'un champs mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_fieldlen</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>i</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-fieldname.xml diff -u phpdoc-fr/reference/msql/functions/msql-fieldname.xml:1.2 phpdoc-fr/reference/msql/functions/msql-fieldname.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-fieldname.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-fieldname.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-fieldname"> <refnamediv> <refname>msql_fieldname</refname> - <refpurpose>Lit le nom d'un champ.</refpurpose> + <refpurpose>Lit le nom d'un champs mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>msql_fieldname</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>field</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-fieldtable.xml diff -u phpdoc-fr/reference/msql/functions/msql-fieldtable.xml:1.2 phpdoc-fr/reference/msql/functions/msql-fieldtable.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-fieldtable.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-fieldtable.xml Fri Jun 13 12:22:43 2003 @@ -5,14 +5,14 @@ <refnamediv> <refname>msql_fieldtable</refname> <refpurpose> - Retourne le nom d'une table &agrave; partir d'un nom de champ. + Retourne le nom d'une table &agrave; partir d'un nom de champ mSQL </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_fieldtable</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>field</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-fieldtype.xml diff -u phpdoc-fr/reference/msql/functions/msql-fieldtype.xml:1.2 phpdoc-fr/reference/msql/functions/msql-fieldtype.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-fieldtype.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-fieldtype.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-fieldtype"> <refnamediv> <refname>msql_fieldtype</refname> - <refpurpose>Retourne le type de champ.</refpurpose> + <refpurpose>Retourne le type de champs mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>msql_fieldtype</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>i</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-fr/reference/msql/functions/msql-free-result.xml diff -u phpdoc-fr/reference/msql/functions/msql-free-result.xml:1.1 phpdoc-fr/reference/msql/functions/msql-free-result.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-free-result.xml:1.1 Sun Apr 14 20:33:42 2002 +++ phpdoc-fr/reference/msql/functions/msql-free-result.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-free-result"> <refnamediv> <refname>msql_free_result</refname> - <refpurpose>Lib&egrave;re le r&eacute;sultat de la m&eacute;moire.</refpurpose> + <refpurpose>Lib&egrave;re le r&eacute;sultat de la m&eacute;moire</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_free_result</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> </methodsynopsis> <para> <function>msql_free_result</function> lib&egrave;re de la m&eacute;moire Index: phpdoc-fr/reference/msql/functions/msql-freeresult.xml diff -u phpdoc-fr/reference/msql/functions/msql-freeresult.xml:1.1 phpdoc-fr/reference/msql/functions/msql-freeresult.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-freeresult.xml:1.1 Sun Apr 14 20:33:42 2002 +++ phpdoc-fr/reference/msql/functions/msql-freeresult.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-freeresult"> <refnamediv> <refname>msql_freeresult</refname> - <refpurpose>Lib&egrave;re le r&eacute;sultat de la m&eacute;moire.</refpurpose> + <refpurpose>Lib&egrave;re le r&eacute;sultat de la m&eacute;moire</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/msql/functions/msql-list-dbs.xml diff -u phpdoc-fr/reference/msql/functions/msql-list-dbs.xml:1.1 phpdoc-fr/reference/msql/functions/msql-list-dbs.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-list-dbs.xml:1.1 Sun Apr 14 20:33:42 2002 +++ phpdoc-fr/reference/msql/functions/msql-list-dbs.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-list-dbs"> <refnamediv> <refname>msql_list_dbs</refname> - <refpurpose>Liste les bases de donn&eacute;es mSQL sur un serveur.</refpurpose> + <refpurpose>Liste les bases de donn&eacute;es mSQL sur un serveur</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/msql/functions/msql-list-fields.xml diff -u phpdoc-fr/reference/msql/functions/msql-list-fields.xml:1.1 phpdoc-fr/reference/msql/functions/msql-list-fields.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-list-fields.xml:1.1 Sun Apr 14 20:33:43 2002 +++ phpdoc-fr/reference/msql/functions/msql-list-fields.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-list-fields"> <refnamediv> <refname>msql_list_fields</refname> - <refpurpose>Liste les champs d'une table.</refpurpose> + <refpurpose>Liste les champs d'une table</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/msql/functions/msql-listdbs.xml diff -u phpdoc-fr/reference/msql/functions/msql-listdbs.xml:1.1 phpdoc-fr/reference/msql/functions/msql-listdbs.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-listdbs.xml:1.1 Sun Apr 14 20:33:43 2002 +++ phpdoc-fr/reference/msql/functions/msql-listdbs.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-listdbs"> <refnamediv> <refname>msql_listdbs</refname> - <refpurpose>Liste les bases de donn&eacute;es mSQL sur un serveur.</refpurpose> + <refpurpose>Liste les bases de donn&eacute;es mSQL sur un serveur</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/msql/functions/msql-listfields.xml diff -u phpdoc-fr/reference/msql/functions/msql-listfields.xml:1.1 phpdoc-fr/reference/msql/functions/msql-listfields.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-listfields.xml:1.1 Sun Apr 14 20:33:43 2002 +++ phpdoc-fr/reference/msql/functions/msql-listfields.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-listfields"> <refnamediv> <refname>msql_listfields</refname> - <refpurpose>Liste les champs d'une table.</refpurpose> + <refpurpose>Liste les champs d'une table</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/msql/functions/msql-listtables.xml diff -u phpdoc-fr/reference/msql/functions/msql-listtables.xml:1.1 phpdoc-fr/reference/msql/functions/msql-listtables.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-listtables.xml:1.1 Sun Apr 14 20:33:43 2002 +++ phpdoc-fr/reference/msql/functions/msql-listtables.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-listtables"> <refnamediv> <refname>msql_listtables</refname> - <refpurpose>Liste les tables mSQL sur une base de donn&eacute;es.</refpurpose> + <refpurpose>Liste les tables mSQL sur une base de donn&eacute;es</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/msql/functions/msql-num-fields.xml diff -u phpdoc-fr/reference/msql/functions/msql-num-fields.xml:1.1 phpdoc-fr/reference/msql/functions/msql-num-fields.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-num-fields.xml:1.1 Sun Apr 14 20:33:43 2002 +++ phpdoc-fr/reference/msql/functions/msql-num-fields.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-num-fields"> <refnamediv> <refname>msql_num_fields</refname> - <refpurpose>Retourne le nombre de champs dans un r&eacute;sultat.</refpurpose> + <refpurpose>Retourne le nombre de champs dans un r&eacute;sultat</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_num_fields</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> </methodsynopsis> <para> <function>msql_num_fields</function> retourne le nombre de champs du Index: phpdoc-fr/reference/msql/functions/msql-num-rows.xml diff -u phpdoc-fr/reference/msql/functions/msql-num-rows.xml:1.1 phpdoc-fr/reference/msql/functions/msql-num-rows.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-num-rows.xml:1.1 Sun Apr 14 20:33:43 2002 +++ phpdoc-fr/reference/msql/functions/msql-num-rows.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-num-rows"> <refnamediv> <refname>msql_num_rows</refname> - <refpurpose>Retourne le nombre de lignes dans un r&eacute;sultat.</refpurpose> + <refpurpose>Retourne le nombre de lignes dans un r&eacute;sultat</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_num_rows</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> </methodsynopsis> <para> <function>msql_num_rows</function> retourne le nombre de lignes du Index: phpdoc-fr/reference/msql/functions/msql-numfields.xml diff -u phpdoc-fr/reference/msql/functions/msql-numfields.xml:1.1 phpdoc-fr/reference/msql/functions/msql-numfields.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-numfields.xml:1.1 Sun Apr 14 20:33:43 2002 +++ phpdoc-fr/reference/msql/functions/msql-numfields.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-numfields"> <refnamediv> <refname>msql_numfields</refname> - <refpurpose>Retourne le nombre de champs dans un r&eacute;sultat.</refpurpose> + <refpurpose>Retourne le nombre de champs dans un r&eacute;sultat</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_numfields</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> </methodsynopsis> <para> Identique &agrave; <function>msql_num_fields</function>. Index: phpdoc-fr/reference/msql/functions/msql-numrows.xml diff -u phpdoc-fr/reference/msql/functions/msql-numrows.xml:1.1 phpdoc-fr/reference/msql/functions/msql-numrows.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-numrows.xml:1.1 Sun Apr 14 20:33:44 2002 +++ phpdoc-fr/reference/msql/functions/msql-numrows.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-numrows"> <refnamediv> <refname>msql_numrows</refname> - <refpurpose>Retourne le nombre de lignes dans un r&eacute;sultat.</refpurpose> + <refpurpose>Retourne le nombre de lignes dans un r&eacute;sultat</refpurpose> </refnamediv> <refsect1> <title>Description</title> Index: phpdoc-fr/reference/msql/functions/msql-pconnect.xml diff -u phpdoc-fr/reference/msql/functions/msql-pconnect.xml:1.1 phpdoc-fr/reference/msql/functions/msql-pconnect.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-pconnect.xml:1.1 Sun Apr 14 20:33:44 2002 +++ phpdoc-fr/reference/msql/functions/msql-pconnect.xml Fri Jun 13 12:22:43 2003 @@ -4,30 +4,17 @@ <refentry id="function.msql-pconnect"> <refnamediv> <refname>msql_pconnect</refname> - <refpurpose>Ouvre une connexion persistante &agrave; un serveur mSQL.</refpurpose> + <refpurpose>Ouvre une connexion persistante &agrave; un serveur mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_pconnect</methodname> - <methodparam choice="opt"><type>string</type><parameter> - hostname - </parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter> - hostname:port - </parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter> - username - </parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter> - password - </parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>server</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>username</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam> </methodsynopsis> <para> - Retourne un identifiant de connexion persistante &agrave; un serveur mSQL - en cas de succ&egrave;s, et &false; sinon. - </para> - <para> <function>msql_pconnect</function> se comporte presque comme <function>msql_connect</function> mais avec deux diff&eacute;rences majeures. @@ -44,6 +31,10 @@ le lien restera ouvert pour d'autres connexions futures. (<function>msql_close</function> ne fermera pas un lien ouvert par <function>msql_pconnect</function>). + </para> + <para> + <function>msql_pconnect</function> retourne un identifiant de connexion + persistante &agrave; un serveur mSQL en cas de succ&egrave;s, et &false; sinon. </para> <para> C'est pourquoi une telle connexion est consid&eacute;r&eacute;e comme Index: phpdoc-fr/reference/msql/functions/msql-query.xml diff -u phpdoc-fr/reference/msql/functions/msql-query.xml:1.1 phpdoc-fr/reference/msql/functions/msql-query.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-query.xml:1.1 Sun Apr 14 20:33:44 2002 +++ phpdoc-fr/reference/msql/functions/msql-query.xml Fri Jun 13 12:22:43 2003 @@ -4,12 +4,12 @@ <refentry id="function.msql-query"> <refnamediv> <refname>msql_query</refname> - <refpurpose>Envoie une requ&ecirc;te mSQL </refpurpose> + <refpurpose>Envoie une requ&ecirc;te mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>resource</type><methodname>msql_query</methodname> + <type>int</type><methodname>msql_query</methodname> <methodparam><type>string</type><parameter>query</parameter></methodparam> <methodparam><type>int</type><parameter>link_identifier</parameter></methodparam> </methodsynopsis> @@ -27,6 +27,28 @@ <function>msql_query</function> retourne un identifiant positif mSQL en cas de succ&egrave;s, et &false; sinon. </para> + <example> + <title>Exemple avec <function>msql_query</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$link = msql_connect("dbserver") + or die("unable to connect to msql server: ".msql_error()); +msql_select_db("db", $link) + or die("unable to select database 'db': ".msql_error()); + +$result = msql_query("SELECT * FROM table WHERE id=1", $link); +if (!$result) { + die("query failed: ".msql_error()); +} + +while ($row = msql_fetch_array($result)) { + echo $row["id"]; +} +?> +]]> + </programlisting> + </example> <para> Voir aussi <function>msql</function>, Index: phpdoc-fr/reference/msql/functions/msql-result.xml diff -u phpdoc-fr/reference/msql/functions/msql-result.xml:1.2 phpdoc-fr/reference/msql/functions/msql-result.xml:1.3 --- phpdoc-fr/reference/msql/functions/msql-result.xml:1.2 Thu Jun 12 13:12:58 2003 +++ phpdoc-fr/reference/msql/functions/msql-result.xml Fri Jun 13 12:22:43 2003 @@ -4,13 +4,13 @@ <refentry id="function.msql-result"> <refnamediv> <refname>msql_result</refname> - <refpurpose>Retourne les donn&eacute;es de r&eacute;sultat.</refpurpose> + <refpurpose>Retourne les donn&eacute;es de r&eacute;sultat</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_result</methodname> - <methodparam><type>resource</type><parameter>query_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>query_identifier</parameter></methodparam> <methodparam><type>int</type><parameter>i</parameter></methodparam> <methodparam><type>mixed</type><parameter>field</parameter></methodparam> </methodsynopsis> Index: phpdoc-fr/reference/msql/functions/msql-select-db.xml diff -u phpdoc-fr/reference/msql/functions/msql-select-db.xml:1.1 phpdoc-fr/reference/msql/functions/msql-select-db.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-select-db.xml:1.1 Sun Apr 14 20:33:44 2002 +++ phpdoc-fr/reference/msql/functions/msql-select-db.xml Fri Jun 13 12:22:43 2003 @@ -4,14 +4,14 @@ <refentry id="function.msql-select-db"> <refnamediv> <refname>msql_select_db</refname> - <refpurpose>S&eacute;lectionne une base de donn&eacute;es mSQL.</refpurpose> + <refpurpose>S&eacute;lectionne une base de donn&eacute;es mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>int</type><methodname>msql_select_db</methodname> <methodparam><type>string</type><parameter>database_name</parameter></methodparam> - <methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>link_identifier</parameter></methodparam> </methodsynopsis> <para> <function>msql_select_db</function> retourne &true; Index: phpdoc-fr/reference/msql/functions/msql-selectdb.xml diff -u phpdoc-fr/reference/msql/functions/msql-selectdb.xml:1.1 phpdoc-fr/reference/msql/functions/msql-selectdb.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-selectdb.xml:1.1 Sun Apr 14 20:33:45 2002 +++ phpdoc-fr/reference/msql/functions/msql-selectdb.xml Fri Jun 13 12:22:43 2003 @@ -4,12 +4,12 @@ <refentry id="function.msql-selectdb"> <refnamediv> <refname>msql_selectdb</refname> - <refpurpose>S&eacute;lectionne une base de donn&eacute;es mSQL.</refpurpose> + <refpurpose>S&eacute;lectionne une base de donn&eacute;es mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <para> - Voir aussi + Reportez vous &agrave; <function>msql_select_db</function>. </para> </refsect1> Index: phpdoc-fr/reference/msql/functions/msql-tablename.xml diff -u phpdoc-fr/reference/msql/functions/msql-tablename.xml:1.1 phpdoc-fr/reference/msql/functions/msql-tablename.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql-tablename.xml:1.1 Sun Apr 14 20:33:45 2002 +++ phpdoc-fr/reference/msql/functions/msql-tablename.xml Fri Jun 13 12:22:43 2003 @@ -4,7 +4,7 @@ <refentry id="function.msql-tablename"> <refnamediv> <refname>msql_tablename</refname> - <refpurpose>Retourne le nom d'une table &agrave; partir d'un nom de champs.</refpurpose> + <refpurpose>Retourne le nom d'une table &agrave; partir d'un nom de champs</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -22,16 +22,18 @@ <example> <title>Exemple <function>msql_tablename</function></title> <programlisting role="php"> -&lt;?php +<![CDATA[ +<?php msql_connect ("localhost"); -$result = msql_list_tables ("limousin"); +$result = msql_list_tables("limousin"); $i = 0; -while ($i &lt; msql_numrows ($result)) { +while ($i < msql_numrows ($result)) { $tb_names[$i] = msql_tablename ($result, $i); - echo $tb_names[$i] . "&lt;br&gt;"; + echo $tb_names[$i] . "<BR>"; $i++; } -?&gt; +?> +]]> </programlisting> </example> </para> Index: phpdoc-fr/reference/msql/functions/msql.xml diff -u phpdoc-fr/reference/msql/functions/msql.xml:1.1 phpdoc-fr/reference/msql/functions/msql.xml:1.2 --- phpdoc-fr/reference/msql/functions/msql.xml:1.1 Sun Apr 14 20:33:45 2002 +++ phpdoc-fr/reference/msql/functions/msql.xml Fri Jun 13 12:22:43 2003 @@ -4,15 +4,15 @@ <refentry id="function.msql"> <refnamediv> <refname>msql</refname> - <refpurpose>Ex&eacute;cute une requ&ecirc;te mSQL.</refpurpose> + <refpurpose>Ex&eacute;cute une requ&ecirc;te mSQL</refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>resource</type><methodname>msql</methodname> + <type>int</type><methodname>msql</methodname> <methodparam><type>string</type><parameter>database</parameter></methodparam> <methodparam><type>string</type><parameter>query</parameter></methodparam> - <methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam> + <methodparam><type>int</type><parameter>link_identifier</parameter></methodparam> </methodsynopsis> <para> <function>msql</function> retourne un identifiant positif Index: phpdoc-fr/reference/msql/configure.xml +++ phpdoc-fr/reference/msql/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="msql.installation"> &reftitle.install; <para> Pour cela, vous devez compiler PHP avec le support msql, en utilisant l'option de configuration <option role="configure">--with-msql[=dir]</option>. Par d&eacute;faut, le chemin est <filename>'/usr/local/Hughes'</filename>. </para> <note> <title>Note aux utilisateurs Win32</title> <simpara> Afin d'activer ce module dans l'environnement Windows, vous devez copier les librairies <emphasis>msql.dll</emphasis> depuis le dossier DLL de PHP/Win32 dans le dossier syst&egrave;me SYSTEM32 de votre machine (par exemple : C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). </simpara> </note> </section> <!-- 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 --> Index: phpdoc-fr/reference/msql/constants.xml +++ phpdoc-fr/reference/msql/constants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="msql.constants"> &reftitle.constants; &extension.constants; <variablelist> <varlistentry> <term> <constant>MSQL_ASSOC</constant> (<link linkend="language.types.integer">integer</link>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>MSQL_NUM</constant> (<link linkend="language.types.integer">integer</link>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> <varlistentry> <term> <constant>MSQL_BOTH</constant> (<link linkend="language.types.integer">integer</link>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> </variablelist> </section> <!-- 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 --> Index: phpdoc-fr/reference/msql/ini.xml +++ phpdoc-fr/reference/msql/ini.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <section id="msql.configuration"> &reftitle.runtime; &extension.runtime; <para> <table> &ini.table.title; <tgroup cols="3"> <thead> &ini.table.top; </thead> <tbody> <row> <entry>msql.allow_persistent</entry> <entry>"On"</entry> <entry>PHP_INI_SYSTEM</entry> </row> <row> <entry>msql.max_persistent</entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> </row> <row> <entry>msql.max_links</entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> </row> </tbody> </tgroup> </table> &ini.table.bottom; </para> <para> &ini.descriptions.title; <variablelist> <varlistentry id="ini.msql.allow-persistent"> <term> <parameter>msql.allow_persistent</parameter> <type>bool</type> </term> <listitem> <para> Activation ou non des connexions mSQL persistantes. </para> </listitem> </varlistentry> <varlistentry id="ini.msql.max-persistent"> <term> <parameter>msql.max_persistent</parameter> <type>integer</type> </term> <listitem> <para> Le nombre maximum de connexions mSQL persistantes par processus. </para> </listitem> </varlistentry> <varlistentry id="ini.msql.max-links"> <term> <parameter>msql.max_links</parameter> <type>integer</type> </term> <listitem> <para> Le nombre maximum de connexions mSQL par processus, y compris les connexions persistantes. </para> </listitem> </varlistentry> </variablelist> </para> </section>
« previous php.doc.fr (#514) next »