didou           Wed Jul 16 13:09:32 2003 EDT

  Modified files:              
    /phpdoc/en/reference/dbm    reference.xml 
    /phpdoc/en/reference/dbm/functions  dbmnextkey.xml 
  Log:
  adding PHP tags in the examples
  
Index: phpdoc/en/reference/dbm/reference.xml
diff -u phpdoc/en/reference/dbm/reference.xml:1.5 
phpdoc/en/reference/dbm/reference.xml:1.6
--- phpdoc/en/reference/dbm/reference.xml:1.5   Tue Feb 18 13:05:28 2003
+++ phpdoc/en/reference/dbm/reference.xml       Wed Jul 16 13:09:31 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
  <reference id="ref.dbm">
   <title>DBM Functions [deprecated]</title>
   <titleabbrev>DBM</titleabbrev>
@@ -60,6 +60,8 @@
      <title>DBM example</title>
      <programlisting role="php">
 <![CDATA[
+<?php
+
 $dbm = dbmopen ("lastseen", "w");
 if (dbmexists ($dbm, $userid)) {
     $last_seen = dbmfetch ($dbm, $userid);
@@ -69,6 +71,8 @@
 do_stuff();
 dbmreplace ($dbm, $userid, time());
 dbmclose ($dbm);
+
+?>
 ]]>
      </programlisting>
     </example>
Index: phpdoc/en/reference/dbm/functions/dbmnextkey.xml
diff -u phpdoc/en/reference/dbm/functions/dbmnextkey.xml:1.3 
phpdoc/en/reference/dbm/functions/dbmnextkey.xml:1.4
--- phpdoc/en/reference/dbm/functions/dbmnextkey.xml:1.3        Mon Apr 29 08:06:32 
2002
+++ phpdoc/en/reference/dbm/functions/dbmnextkey.xml    Wed Jul 16 13:09:31 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/dbm.xml, last change in rev 1.2 -->
   <refentry id="function.dbmnextkey">
    <refnamediv>
@@ -23,14 +23,18 @@
       <title>Visiting every key/value pair in a DBM database</title>
       <programlisting role="php">
 <![CDATA[
+<?php
+
 $key = dbmfirstkey ($dbm_id);
 while ($key) {
     echo "$key = " . dbmfetch ($dbm_id, $key) . "\n";
     $key = dbmnextkey ($dbm_id, $key);
 }
+
+?>
 ]]>
-     </programlisting>
-    </example>
+      </programlisting>
+     </example>
     </para>
    </refsect1>
   </refentry>



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to