note 77736 added to function.odbc-num-rows
| From: | nielsvandenberge at hotm dot dot dot dot dot com | Date: | Tue, 11 Sep 2007 12:06:25 +0000 |
| Subject: | note 77736 added to function.odbc-num-rows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130367@lists.php.net to get a copy of this message | ||
I just tried to use the function best_odbc_num_rows($result) from voland at digitalshop dot ru, but
it's not working quite well. After executing the function odbc_result_all(); the resultset has
to be resetted again.
Resetting it with
odbc_fetch_row($result, 0);
is not working for me.
I think the internal number-value of the odbc_result_all()-function is not resetted, but that's
just a guess.
when I execute the function 3 times with a resultset of 17 rows the values: 17, 34 and 51 are
returned.
His previous function useful_odbc_num_rows($result) works better (for me).
----
Server IP: 83.137.20.107
Probable Submitter: 82.204.37.70
----
Manual Page -- http://www.php.net/manual/en/function.odbc-num-rows.php
Edit -- https://master.php.net/note/edit/77736
Del: integrated -- https://master.php.net/note/delete/77736/integrated
Del: useless -- https://master.php.net/note/delete/77736/useless
Del: bad code -- https://master.php.net/note/delete/77736/bad+code
Del: spam -- https://master.php.net/note/delete/77736/spam
Del: non-english -- https://master.php.net/note/delete/77736/non-english
Del: in docs -- https://master.php.net/note/delete/77736/in+docs
Del: other reasons-- https://master.php.net/note/delete/77736
Reject -- https://master.php.net/note/reject/77736
Search -- https://master.php.net/manage/user-notes.php