cvs: phpdoc-fr /reference/mysqli/functions mysqli-stmt-param-count.xml

From: Date: Thu, 22 Apr 2004 20:23:55 +0000
Subject: cvs: phpdoc-fr /reference/mysqli/functions mysqli-stmt-param-count.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-2249@lists.php.net to get a copy of this message
yannick Thu Apr 22 16:23:55 2004 EDT Modified files: /phpdoc-fr/reference/mysqli/functions mysqli-stmt-param-count.xml Log: Missing EN-Revision tag Correction http://cvs.php.net/diff.php/phpdoc-fr/reference/mysqli/functions/mysqli-stmt-param-count.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-fr/reference/mysqli/functions/mysqli-stmt-param-count.xml diff -u phpdoc-fr/reference/mysqli/functions/mysqli-stmt-param-count.xml:1.1 phpdoc-fr/reference/mysqli/functions/mysqli-stmt-param-count.xml:1.2 --- phpdoc-fr/reference/mysqli/functions/mysqli-stmt-param-count.xml:1.1 Wed Mar 31 11:09:35 2004 +++ phpdoc-fr/reference/mysqli/functions/mysqli-stmt-param-count.xml Thu Apr 22 16:23:55 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-param-count"> <refnamediv> <refname>mysqli_stmt_param_count</refname> @@ -42,7 +43,7 @@ <programlisting role="php"> <![CDATA[ <?php -$mysqli = new mysqli("localhost", "my_user", "my_password", "world"); +$mysqli = new mysqli("localhost", "utilisateur", "mot_de_passe", "base"); /* Vérification de la connexion */ if (mysqli_connect_errno()) { @@ -50,7 +51,7 @@ exit(); } -if ($stmt = $mysqli->prepare("SELECT Name FROM Country WHERE Name=? OR Code=?")) { +if ($stmt = $mysqli->prepare("SELECT Nom FROM Pays WHERE Name=? OR Code=?")) { $marker = $stmt->param_count; printf("La requête a %d variables.\n", $marker); @@ -70,7 +71,7 @@ <programlisting role="php"> <![CDATA[ <?php -$link = mysqli_connect("localhost", "my_user", "my_password", "world"); +$link = mysqli_connect("localhost", "utilisateur", "mot_de_passe", "base"); /* Vérification de la connexion */ @@ -79,7 +80,7 @@ exit(); } -if ($stmt = mysqli_prepare($link, "SELECT Name FROM Country WHERE Name=? OR Code=?")) { +if ($stmt = mysqli_prepare($link, "SELECT Nom FROM Pays WHERE Name=? OR Code=?")) { $marker = mysqli_stmt_param_count($stmt); printf("La requête a %d variables.\n", $marker);

« previous php.doc.fr (#2249) next »