From: Sam Williams <samw@samipa.com.hk>
To: pgsql-odbc@postgresql.org
Date: 18 Jun 2003 08:02:33 +0800
Message-ID: <1055894552.2145.21.camel@samlap.cherish.spl> (raw)
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 <samw@samipa.com.hk>
Samipa Limited
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: samw@samipa.com.hk
Subject: Re:
In-Reply-To: <1055894552.2145.21.camel@samlap.cherish.spl>
References: <1055894552.2145.21.camel@samlap.cherish.spl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox