Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id DB92847546C for ; Thu, 8 Aug 2002 12:50:22 -0400 (EDT) Received: from nplex.globo.com (email.globo.com [200.208.9.53]) by postgresql.org (Postfix) with ESMTP id E30D5475452 for ; Thu, 8 Aug 2002 12:50:21 -0400 (EDT) Received: from [200.219.69.253] by nplex.globo.com with HTTP; Thu, 8 Aug 2002 13:50:30 -0300 Date: Thu, 8 Aug 2002 13:50:30 -0300 Message-ID: <3D3EEC5F00049E81@riosf05.globoi.com> From: angelo.rigo@globo.com Subject: pg_fetch_array problem To: pgsql-php@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/24 X-Sequence-Number: 1369 Hi i am trying to build previous and next links from a table selection, the code below stops working at the line which says : while ($dados =3D pg_fetch_array($limite)) { $nome =3D $dados["nome"]; echo "Nome: $nome
"; the warning says: Wrong parameter count for pg_fetch_array() i get this code from a php mysql and try to adapt to my needs, is that any parameter wrong? wich can be? "; } // agora vamos criar os bot=F5es "Anterior e pr=F3ximo" $anterior =3D $pc -1; $proximo =3D $pc +1; if ($pc>1) { echo " <- Anterior "; } echo "|"; if ($pc<$tp) { echo " Pr=F3xima ->"; } ?> ________________________________________ A busca mais veloz e precisa da internet. Acesse agora: http://www.zoom.com= .br.