fix copy-past error from the pg_result_seek() page (user note)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@201622 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2005-11-29 19:25:10 +00:00
parent 5ab4cbdac8
commit 40e9811dd9

View file

@ -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>