Page 1 of 1

odbc_fetch functions treated differently on diff servers?

Posted: Fri Nov 25, 2005 12:57 pm
by JasonTC
I have a certain script - I don't think it matters in this case what the script does, but...

Locally, I can use odbc_fetch_array and it works fine.
On the Web server, odbc_fetch_array doesn't work.

Locally, odbc_fetch_row doesn't work.
On the Web server, odbc_fetch_row works fine.

They're both Windows servers. Seems like these functions should be treated the same wherever you use them, anyway. It's not a fatal problem for me, but it's kind of inconvenient to have to use one function locally and a different one on the Web. If anyone can provide a little insight, I would be interested. Not a huge deal, just curious.

Thanks,
Jason

Posted: Fri Nov 25, 2005 11:40 pm
by Zoxive
Different versions of php?

Different types of Servers/Versions? (Apache, IIS)

Different versions of what ever database your using?

Check those out.

-NSF

Posted: Sat Nov 26, 2005 11:49 am
by Chris Corbyn
When you say "Doesn't work"... what does happen?

Have you set up ODBC the same locally as it is on the server?