X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 2A22730F2BC for ; Wed, 18 Jun 2003 00:02:46 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 09918-04 for ; Tue, 17 Jun 2003 21:02:35 -0300 (ADT) Received: from imsmq01.netvigator.com (imsmq01.netvigator.com [218.102.49.35]) by svr1.postgresql.org (Postfix) with SMTP id 6CDF230F277 for ; Tue, 17 Jun 2003 21:02:34 -0300 (ADT) Received: (qmail 23365 invoked from network); 18 Jun 2003 00:02:32 -0000 Received: from pcd270211.netvigator.com (HELO ?192.168.1.253?) (203.218.60.211) by imsmq01.netvigator.com with SMTP; 18 Jun 2003 00:02:32 -0000 Subject: From: Sam Williams Reply-To: samw@samipa.com.hk To: pgsql-odbc@postgresql.org Content-Type: text/plain Organization: Samipa Limited Message-Id: <1055894552.2145.21.camel@samlap.cherish.spl> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 18 Jun 2003 08:02:33 +0800 Content-Transfer-Encoding: 7bit X-Archive-Number: 200306/41 X-Sequence-Number: 3015 Hi people, I'm having problems with the odbc_fetch_row, odbc_fetch_into and odbc_fetch_array functions in PHP4... I'm not sure if it is a pgsql problem, a PHP problem, or a problem with unixODBC, but I though that this was probably a good place to ask. If it's not, then let me know and I'll try somewhere else :-) odbc_fetch_row works when the optional argument (identifying a particular row in the recordset) is not set. That's a bit of a problem as once I have looped through the results for one purpose, I can't get back to the beginning to do other things. Instead I have to repeat the query... I have the following installed on a debian system (unstable): php 4.2.3 unixodbc 2.2.4 postgresql 7.7.3 Any help will be greatly appreciated. -- Sam Williams Samipa Limited