cvs: phpdoc-fr /reference/mysqli/functions mysqli-fetch.xml
| From: | Mehdi Achour | Date: | Wed, 18 Feb 2004 13:34:52 +0000 |
| Subject: | cvs: phpdoc-fr /reference/mysqli/functions mysqli-fetch.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-1466@lists.php.net to get a copy of this message | ||
didou Wed Feb 18 08:34:52 2004 EDT
Modified files:
/phpdoc-fr/reference/mysqli/functions mysqli-fetch.xml
Log:
sync with en
http://cvs.php.net/diff.php/phpdoc-fr/reference/mysqli/functions/mysqli-fetch.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc-fr/reference/mysqli/functions/mysqli-fetch.xml
diff -u phpdoc-fr/reference/mysqli/functions/mysqli-fetch.xml:1.3
phpdoc-fr/reference/mysqli/functions/mysqli-fetch.xml:1.4
--- phpdoc-fr/reference/mysqli/functions/mysqli-fetch.xml:1.3 Tue Dec 30 13:48:38 2003
+++ phpdoc-fr/reference/mysqli/functions/mysqli-fetch.xml Wed Feb 18 08:34:51 2004
@@ -1,20 +1,76 @@
<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.4 $ -->
<refentry id="function.mysqli-fetch">
<refnamediv>
<refname>mysqli_fetch</refname>
+ <refname>stmt->fetch</refname>
<refpurpose>
Récupère un résultat à partir d'une requête préparée dans les variables
</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
+ <para>Style procédural :</para>
+ <methodsynopsis>
+ <type>mixed</type><methodname>mysqli_fetch</methodname>
+
<methodparam><type>object</type><parameter>stmt</parameter></methodparam>
+ </methodsynopsis>
+ <para>Style orienté objet (méthode) :</para>
+ <classsynopsis>
+ <ooclass><classname>stmt</classname></ooclass>
<methodsynopsis>
- <type>int</type><methodname>mysqli_fetch</methodname>
-
<methodparam><type>resource</type><parameter>stmt</parameter></methodparam>
+ <type>mixed</type>
+ <methodname>fetch</methodname>
+
<methodparam><type>void</type><parameter></parameter></methodparam>
</methodsynopsis>
-
- &warn.undocumented.func;
-
+ </classsynopsis>
+ <para>
+ <function>mysqli_fetch</function> retourne les données d'une ligne en
+ utilisant les variables préparées avec <function>mysqli_bind_result</function>.
+ </para>
+ <note>
+ <para>
+ Notez que toutes les colonnes doivent être préparées par l'application
+ avant d'appeler <function>mysqli_fetch</function>.
+ </para>
+ </note>
+ </refsect1>
+ <refsect1>
+ <title>Valeur de retour</title>
+ <table>
+ <title>Valeur de retour</title>
+ <tgroup cols='2'>
+ <thead>
+ <row>
+ <entry>Valeur</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>&true;</entry>
+ <entry>Succès. Les données ont bien été récupérées.</entry>
+ </row>
+ <row>
+ <entry>&false;</entry>
+ <entry>Une erreur est survenue</entry>
+ </row>
+ <row>
+ <entry><literal>&null;</literal></entry>
+ <entry>Plus de lignes/données existantes</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </refsect1>
+ <refsect1>
+ <title>Voir aussi</title>
+ <para>
+ <function>mysqli_prepare</function>,
+ <function>mysqli_stmt_errno</function>,
+ <function>mysqli_stmt_error</function>,
+ <function>mysqli_bind_result</function>
+ </para>
</refsect1>
</refentry>