Re: Re: php and db/c

From: Date: Sun, 05 Jan 2003 21:05:58 +0000
Subject: Re: Re: php and db/c
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-24597@lists.php.net to get a copy of this message
yes i have... it outputs nothing... saying there are no results to the query... thanks, jay > jay@advmed.com wrote: > > Hello everyone, > > We are running an old database system called db/c and attempting to > access > > the information via php. We have managed to make an odbc connection to the > > databases, and can successfully retrieve the field names, and field counts. > > However, php insists the tables are empty, returning -1 (empty set) for the > > odbc_num_rows(). When we make a raw odbc connection to run a direct sql > query > > on the data, it all shows up fine. There is some miscommunication between > odbc > > and php that is eluding us. Any input or suggestions would be welcomed. > > Thank you, > > Jay Merritt > > jay@advmed.com > Many odbc drivers do not return the correct value for odbc_num_rows. > Have you tried odbc_result_all to see what comes back? > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#24597) next »