cvs: phpdoc-fr /reference/nis/functions yp-next.xml
| From: | Mehdi Achour | Date: | Tue, 02 Mar 2004 16:18:49 +0000 |
| Subject: | cvs: phpdoc-fr /reference/nis/functions yp-next.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-1940@lists.php.net to get a copy of this message | ||
didou Tue Mar 2 11:18:49 2004 EDT
Modified files:
/phpdoc-fr/reference/nis/functions yp-next.xml
Log:
parse errors and CS
http://cvs.php.net/diff.php/phpdoc-fr/reference/nis/functions/yp-next.xml?r1=1.6&r2=1.7&ty=u
Index: phpdoc-fr/reference/nis/functions/yp-next.xml
diff -u phpdoc-fr/reference/nis/functions/yp-next.xml:1.6
phpdoc-fr/reference/nis/functions/yp-next.xml:1.7
--- phpdoc-fr/reference/nis/functions/yp-next.xml:1.6 Tue Feb 24 13:12:23 2004
+++ phpdoc-fr/reference/nis/functions/yp-next.xml Tue Mar 2 11:18:49 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<!-- EN-Revision: 1.1 Maintainer: nobody Status: partial -->
<!-- splitted from ./fr/functions/nis.xml, last change in rev 1.9 -->
@@ -29,12 +29,13 @@
<programlisting role="php">
<![CDATA[
<?php
- $entry = yp_next($domain, "passwd.byname", "joe");
- if(!$entry) {
+$entry = yp_next($domain, "passwd.byname", "joe");
+if (!$entry) {
echo "Plus d'autres entrées.\n";
- <!-- echo yp_errno() . ": " . yp_err_string(); --> }
- $key = key($entry);
- echo "L'entrée suivante après "joe" a la clé " . $key
+ echo "<!-- " . yp_errno() . ": " . yp_err_string() . " -->";
+}
+$key = key($entry);
+echo "L'entrée suivante après \"joe\" a la clé " . $key
. " et la valeur " . $entry[$key];
?>
]]>