didou           Wed Jul 16 13:20:06 2003 EDT

  Modified files:              
    /phpdoc/en/reference/recode/functions       recode-file.xml 
                                                recode-string.xml 
  Log:
  adding PHP tags in the examples
  
Index: phpdoc/en/reference/recode/functions/recode-file.xml
diff -u phpdoc/en/reference/recode/functions/recode-file.xml:1.2 
phpdoc/en/reference/recode/functions/recode-file.xml:1.3
--- phpdoc/en/reference/recode/functions/recode-file.xml:1.2    Wed Apr 17 02:43:47 
2002
+++ phpdoc/en/reference/recode/functions/recode-file.xml        Wed Jul 16 13:20:06 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/recode.xml, last change in rev 1.2 -->
   <refentry id="function.recode-file">
    <refnamediv>
@@ -32,9 +32,11 @@
      <title>Basic <function>recode_file</function> example</title>
       <programlisting role="php">
 <![CDATA[
+<?php
 $input = fopen ('input.txt', 'r');
 $output = fopen ('output.txt', 'w');
 recode_file ("us..flat", $input, $output);
+?>
 ]]>
       </programlisting>
      </example>
Index: phpdoc/en/reference/recode/functions/recode-string.xml
diff -u phpdoc/en/reference/recode/functions/recode-string.xml:1.2 
phpdoc/en/reference/recode/functions/recode-string.xml:1.3
--- phpdoc/en/reference/recode/functions/recode-string.xml:1.2  Wed Apr 17 02:43:49 
2002
+++ phpdoc/en/reference/recode/functions/recode-string.xml      Wed Jul 16 13:20:06 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
 <!-- splitted from ./en/functions/recode.xml, last change in rev 1.2 -->
   <refentry id="function.recode-string">
    <refnamediv>
@@ -26,7 +26,9 @@
      <title>Basic <function>recode_string</function> example:</title>
       <programlisting role="php">
 <![CDATA[
+<?php
 print recode_string ("us..flat", "The following character has a diacritical mark: 
&aacute;");
+?>
 ]]>
       </programlisting>
      </example>



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

Reply via email to