cvs: phpdoc-fr /reference/mysqli/functions mysqli-stmt-fetch.xml
| From: | Yannick TORRES | Date: | Thu, 22 Apr 2004 20:13:31 +0000 |
| Subject: | cvs: phpdoc-fr /reference/mysqli/functions mysqli-stmt-fetch.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-2245@lists.php.net to get a copy of this message | ||
yannick Thu Apr 22 16:13:31 2004 EDT
Modified files:
/phpdoc-fr/reference/mysqli/functions mysqli-stmt-fetch.xml
Log:
Missing EN-Revision tag
Correction
http://cvs.php.net/diff.php/phpdoc-fr/reference/mysqli/functions/mysqli-stmt-fetch.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-fr/reference/mysqli/functions/mysqli-stmt-fetch.xml
diff -u phpdoc-fr/reference/mysqli/functions/mysqli-stmt-fetch.xml:1.1
phpdoc-fr/reference/mysqli/functions/mysqli-stmt-fetch.xml:1.2
--- phpdoc-fr/reference/mysqli/functions/mysqli-stmt-fetch.xml:1.1 Wed Mar 31 11:09:35 2004
+++ phpdoc-fr/reference/mysqli/functions/mysqli-stmt-fetch.xml Thu Apr 22 16:13:31 2004
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="function.mysqli-stmt-fetch">
<refnamediv>
<refname>mysqli_stmt_fetch</refname>
@@ -76,12 +77,12 @@
<refsect1>
<title>Exemple</title>
<example>
- <title>Object oriented style</title>
+ <title>Orienté objet</title>
<programlisting role="php">
<![CDATA[
<?php
/* Ouvre la connexion */
-$mysqli = new mysqli("localhost", "my_user", "my_password",
"world");
+$mysqli = new mysqli("localhost", "utilisateur", "mot_de_passe",
"base");
/* Vérifie la connection */
if (mysqli_connect_errno()) {
@@ -89,7 +90,7 @@
exit();
}
-$query = "SELECT Name, CountryCode FROM City ORDER by ID DESC LIMIT 150,5";
+$query = "SELECT Nom, Pays FROM Ville ORDER by ID DESC LIMIT 150,5";
if ($stmt = $mysqli->prepare($query)) {
@@ -115,12 +116,12 @@
</programlisting>
</example>
<example>
- <title>Procedural style</title>
+ <title>Procédural</title>
<programlisting role="php">
<![CDATA[
<?php
/* Ouvre la connexion */
-$link = mysqli_connect("localhost", "my_user", "my_password",
"world");
+$link = mysqli_connect("localhost", "utilisateur", "mot_de_passe",
"base");
/* Vérifie la connection */
if (mysqli_connect_errno()) {
@@ -128,11 +129,11 @@
exit();
}
-$query = "SELECT Name, CountryCode FROM City ORDER by ID DESC LIMIT 150,5";
+$query = "SELECT Nom, Pays FROM Ville ORDER by ID DESC LIMIT 150,5";
if ($stmt = mysqli_prepare($link, $query)) {
- /* execute statement */
+ /* Exécution */
mysqli_stmt_execute($stmt);
/* Association des variables de résultat */