nlopess         Tue Nov 29 14:25:13 2005 EDT

  Modified files:              
    /phpdoc/en/reference/pgsql/functions        pg-result-error.xml 
  Log:
  fix copy-past error from the pg_result_seek() page (user note)
  
http://cvs.php.net/diff.php/phpdoc/en/reference/pgsql/functions/pg-result-error.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/pgsql/functions/pg-result-error.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-result-error.xml:1.7 
phpdoc/en/reference/pgsql/functions/pg-result-error.xml:1.8
--- phpdoc/en/reference/pgsql/functions/pg-result-error.xml:1.7 Mon Apr 25 
04:59:03 2005
+++ phpdoc/en/reference/pgsql/functions/pg-result-error.xml     Tue Nov 29 
14:25:10 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
 <refentry id='function.pg-result-error'>
  <refnamediv>
@@ -46,15 +46,6 @@
       </para>
      </listitem>
     </varlistentry>
-    <varlistentry>
-     <term><parameter>offset</parameter></term>
-     <listitem>
-      <para>
-       Row to move the internal offset to in the <parameter>result</parameter> 
resource.
-       Rows are numbered starting from zero.
-      </para>
-     </listitem>
-    </varlistentry>
    </variablelist>
   </para>
  </refsect1>
@@ -66,34 +57,6 @@
   </para>
  </refsect1>
  
- <refsect1 role="examples">
-  &reftitle.examples;
-  <para>
-   <example>
-    <title><function>pg_result_seek</function> example</title>
-    <programlisting role="php">
-<![CDATA[
-<?php
-
-// Connect to the database
-$conn = pg_pconnect("dbname=publisher");
-
-// Execute a query
-$result = pg_query($conn, "SELECT author, email FROM authors");
-
-// Seek to the 3rd row (assuming there are 3 rows)
-pg_result_seek($result, 2);
-
-// Fetch the 3rd row
-$row = pg_fetch_row($result);
- 
-?>
-]]>
-    </programlisting>
-   </example>
-  </para>
- </refsect1>
- 
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>

Reply via email to