philip          Thu Feb 13 14:48:17 2003 EDT

  Modified files:              
    /phpdoc/en/reference/filesystem/functions   fopen.xml 
  Log:
  Put mode descriptions into a <table> instead of a <itemizedlist>.
  
  
Index: phpdoc/en/reference/filesystem/functions/fopen.xml
diff -u phpdoc/en/reference/filesystem/functions/fopen.xml:1.9 
phpdoc/en/reference/filesystem/functions/fopen.xml:1.10
--- phpdoc/en/reference/filesystem/functions/fopen.xml:1.9      Mon Feb 10 22:04:15 
2003
+++ phpdoc/en/reference/filesystem/functions/fopen.xml  Thu Feb 13 14:48:15 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
   <refentry id="function.fopen">
    <refnamediv>
@@ -49,50 +49,69 @@
      </simpara>
     </note>
     <para>
-     <parameter>mode</parameter> specifies the type of access you
-     require to the stream.  It may be any of the following:
-     <itemizedlist>
-      <listitem>
-       <simpara>
-        'r' - Open for reading only; place the file pointer at the
-        beginning of the file.
-       </simpara>
-      </listitem>
-      <listitem>
-       <simpara>
-        'r+' - Open for reading and writing; place the file pointer at
-        the beginning of the file.
-       </simpara>
-      </listitem>
-      <listitem>
-       <simpara>
-        'w' - Open for writing only; place the file pointer at the
-        beginning of the file and truncate the file to zero length.
-        If the file does not exist, attempt to create it.
-       </simpara>
-      </listitem>
-      <listitem>
-       <simpara>
-        'w+' - Open for reading and writing; place the file pointer at
-        the beginning of the file and truncate the file to zero
-        length.  If the file does not exist, attempt to create it.
-       </simpara>
-      </listitem>
-      <listitem>
-       <simpara>
-        'a' - Open for writing only; place the file pointer at the end
-        of the file. If the file does not exist, attempt to create
-        it.
-       </simpara>
-      </listitem>
-      <listitem>
-       <simpara>
-        'a+' - Open for reading and writing; place the file pointer at
-        the end of the file. If the file does not exist, attempt to
-        create it.
-       </simpara>
-      </listitem>
-     </itemizedlist>
+     The <parameter>mode</parameter> parameter specifies the type of access
+     you require to the stream.  It may be any of the following:
+     <table>
+      <title>
+       A list of possible modes for <function>fopen</function> 
+       using <parameter>mode</parameter>
+      </title>
+      <tgroup cols="2">
+       <thead>
+        <row>
+         <entry><parameter>mode</parameter></entry>
+         <entry>Description</entry>
+        </row>
+       </thead>
+       <tbody>
+        <row>
+         <entry><literal>'r'</literal></entry>
+         <entry>
+          Open for reading only; place the file pointer at the
+          beginning of the file.
+         </entry>
+        </row>
+        <row>
+         <entry><literal>'r+'</literal></entry>
+         <entry>
+          Open for reading and writing; place the file pointer at
+          the beginning of the file.
+         </entry>
+        </row>
+        <row>
+         <entry><literal>'w'</literal></entry>
+         <entry>
+          Open for writing only; place the file pointer at the
+          beginning of the file and truncate the file to zero length.
+          If the file does not exist, attempt to create it.
+         </entry>
+        </row>
+        <row>
+         <entry><literal>'w+'</literal></entry>
+         <entry>
+          Open for reading and writing; place the file pointer at
+          the beginning of the file and truncate the file to zero
+          length.  If the file does not exist, attempt to create it.
+         </entry>
+        </row>
+        <row>
+         <entry><literal>'a'</literal></entry>
+         <entry>
+          Open for writing only; place the file pointer at the end of 
+         the file. If the file does not exist, attempt to create it.
+         </entry>
+        </row>
+        <row>
+         <entry><literal>'a+'</literal></entry>
+         <entry>
+          Open for reading and writing; place the file pointer at
+          the end of the file. If the file does not exist, attempt to
+          create it.
+         </entry>
+        </row>
+       </tbody>
+      </tgroup>
+     </table>
     </para>
     <note>
      <para>
@@ -117,7 +136,7 @@
     </simpara>
     <para>
      <example>
-      <title><function>fopen</function> example</title>
+      <title><function>fopen</function> examples</title>
       <programlisting role="php">
 <![CDATA[
 <?php



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

Reply via email to