cvs: phpdoc-fr /reference/mysql/functions mysql-fetch-object.xml mysql-fetch-row.xml mysql-result.xml
| From: | Damien Seguy | Date: | Sat, 16 Aug 2003 12:35:50 +0000 |
| Subject: | cvs: phpdoc-fr /reference/mysql/functions mysql-fetch-object.xml mysql-fetch-row.xml mysql-result.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-707@lists.php.net to get a copy of this message | ||
dams Sat Aug 16 08:35:50 2003 EDT
Modified files:
/phpdoc-fr/reference/mysql/functions mysql-fetch-object.xml
mysql-fetch-row.xml
mysql-result.xml
Log:
latest proto update
Index: phpdoc-fr/reference/mysql/functions/mysql-fetch-object.xml
diff -u phpdoc-fr/reference/mysql/functions/mysql-fetch-object.xml:1.3
phpdoc-fr/reference/mysql/functions/mysql-fetch-object.xml:1.4
--- phpdoc-fr/reference/mysql/functions/mysql-fetch-object.xml:1.3 Wed Jul 2 05:33:52 2003
+++ phpdoc-fr/reference/mysql/functions/mysql-fetch-object.xml Sat Aug 16 08:35:50 2003
@@ -70,6 +70,7 @@
</para>
<para>
Voir aussi
+ <function>mysql_fetch_assoc</function>,
<function>mysql_fetch_array</function> et
<function>mysql_fetch_row</function>.
</para>
Index: phpdoc-fr/reference/mysql/functions/mysql-fetch-row.xml
diff -u phpdoc-fr/reference/mysql/functions/mysql-fetch-row.xml:1.3
phpdoc-fr/reference/mysql/functions/mysql-fetch-row.xml:1.4
--- phpdoc-fr/reference/mysql/functions/mysql-fetch-row.xml:1.3 Wed Jul 2 05:33:52 2003
+++ phpdoc-fr/reference/mysql/functions/mysql-fetch-row.xml Sat Aug 16 08:35:50 2003
@@ -33,6 +33,7 @@
</para>
<para>
Voir aussi
+ <function>mysql_fetch_assoc</function>,
<function>mysql_fetch_array</function>,
<function>mysql_fetch_object</function>,
<function>mysql_data_seek</function>,
Index: phpdoc-fr/reference/mysql/functions/mysql-result.xml
diff -u phpdoc-fr/reference/mysql/functions/mysql-result.xml:1.3
phpdoc-fr/reference/mysql/functions/mysql-result.xml:1.4
--- phpdoc-fr/reference/mysql/functions/mysql-result.xml:1.3 Thu May 22 05:17:37 2003
+++ phpdoc-fr/reference/mysql/functions/mysql-result.xml Sat Aug 16 08:35:50 2003
@@ -36,6 +36,26 @@
le résultat.
</para>
<para>
+ <example>
+ <title>Exemple avec <function>mysql_result</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+ $link = mysql_connect("hote", "utilisateur", "mot_de_passe")
+ or die("Impossible de se connecter : " . mysql_error());
+
+ $result = mysql_query("SELECT name FROM work.employee")
+ or die("Impossible d'exécuter la requête : .
mysql_error());
+
+ echo mysql_result($result,2); // Affiche le nom du troisième employé
+
+ mysql_close($link);
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ <para>
Alternatives à haut rendement, RECOMMANDEES :
<function>mysql_fetch_row</function>,
<function>mysql_fetch_array</function> et