Thread:

From
Sam Williams
Date:
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