odbc_fetch functions treated differently on diff servers?

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
JasonTC
Forum Commoner
Posts: 92
Joined: Wed Nov 02, 2005 11:05 am
Location: Grand Rapids, MI

odbc_fetch functions treated differently on diff servers?

Post 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
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post 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?
Post Reply