Re: Any known issues with odbc_fetch_row();

From: Date: Wed, 12 Jul 2000 21:10:55 +0000
Subject: Re: Any known issues with odbc_fetch_row();
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6275@lists.php.net to get a copy of this message
In article <472EB19B55F10341913B6ED73D6765D109FDBF@bdchdq.AMERICANBRIDGE.NET>, Rconover@americanbridge.net ("Conover, Ryan") wrote: > Anytime I call odbc_fetch_row(); and use the number it returns to use in > the result function I get the following error > > Warning: Bad result index 1 in functions.inc on line 7 > Any help is appreciated. odbc_fetch_row is not like mysql_fetch_row. It just moves the cursor and returns true/false. You need to call odbc_result to get actual results. They just ain't designed the same way. Because that's the API for ODBC and MySQL -- PHP tries to not add too much cruft (okay, almost none) to the raw database APIs. -- Richard Lynch | If this was worth $$$ to you, buy a CD US Customer Support Director | from one of the artists listed here: Zend Technologies USA | http://www.L-I-E.com/artists.htm http://www.zend.com | (this has nothing to do with Zend, duh!)

« previous php.general (#6275) next »