didou           Wed Jul 16 13:09:05 2003 EDT

  Modified files:              
    /phpdoc/en/reference/dbase/functions        dbase-create.xml 
                                                dbase-get-header-info.xml 
                                                dbase-numfields.xml 
  Log:
  adding PHP tags in the examples
  
Index: phpdoc/en/reference/dbase/functions/dbase-create.xml
diff -u phpdoc/en/reference/dbase/functions/dbase-create.xml:1.3 
phpdoc/en/reference/dbase/functions/dbase-create.xml:1.4
--- phpdoc/en/reference/dbase/functions/dbase-create.xml:1.3    Mon Feb 10 21:50:48 
2003
+++ phpdoc/en/reference/dbase/functions/dbase-create.xml        Wed Jul 16 13:09:05 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
 <!-- splitted from ./en/functions/dbase.xml, last change in rev 1.2 -->
   <refentry id="function.dbase-create">
    <refnamediv>
@@ -79,6 +79,8 @@
       <title>Creating a dBase database file</title>
       <programlisting role="php">
 <![CDATA[
+<?php
+
 // "database" name
 $dbname = "/tmp/test.dbf";
 
@@ -95,6 +97,8 @@
 // creation
 if (!dbase_create($dbname, $def))
     print "<strong>Error!</strong>";
+
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml
diff -u phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml:1.1 
phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml:1.2
--- phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml:1.1   Wed Jul 16 
08:21:04 2003
+++ phpdoc/en/reference/dbase/functions/dbase-get-header-info.xml       Wed Jul 16 
13:09:05 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
   <refentry id="function.dbase-get-header-info">
    <refnamediv>
     <refname>dbase_get_header_info</refname>
@@ -95,6 +95,7 @@
       <title>Showing header information for a dBase database file</title>
       <programlisting role="php">
 <![CDATA[
+<?php
 // Path to dbase file
 $db_path = "/tmp/test.dbf";
 
@@ -107,6 +108,7 @@
 
 // Display information
 print_r($column_info);
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/dbase/functions/dbase-numfields.xml
diff -u phpdoc/en/reference/dbase/functions/dbase-numfields.xml:1.2 
phpdoc/en/reference/dbase/functions/dbase-numfields.xml:1.3
--- phpdoc/en/reference/dbase/functions/dbase-numfields.xml:1.2 Wed Apr 17 02:37:18 
2002
+++ phpdoc/en/reference/dbase/functions/dbase-numfields.xml     Wed Jul 16 13:09:05 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/dbase.xml, last change in rev 1.2 -->
   <refentry id="function.dbase-numfields">
    <refnamediv>
@@ -22,11 +22,15 @@
       <title>Using <function>dbase_numfields</function></title>
       <programlisting role="php">
 <![CDATA[
+<?php
+
 $rec = dbase_get_record($db, $recno);
 $nf  = dbase_numfields($db);
 for ($i=0; $i < $nf; $i++) {
     print $rec[$i]."<br>\n";
 }
+
+?>
 ]]>
       </programlisting>
      </example>



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

Reply via email to