Re: return # of rows

From: Date: Thu, 29 Jun 2000 07:09:01 +0000
Subject: Re: return # of rows
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-735@lists.php.net to get a copy of this message
Chuck Barnett wrote: > According to the PHP online manual, > the odbc_do() returns string rather than int > while odbc_exec() returns an int. > This is a doc bug, will fix it. Odbc_do() is simply a synonym for odbc_exec(), both return an int. Odbc_num_rows() returns the number of rows affected by an update or insert command. Very few drivers (Adabas being the only I know) also return the number of rows in a result set. -Andreas -- Andreas Karajannis GMD National Research Center for Information Technology Schloss Birlinghoven, D-53754 Sankt Augustin Phone +49 2241 142948

« previous php.db (#735) next »