note 73637 added to function.odbc-num-rows

From: Date: Mon, 05 Mar 2007 13:56:32 +0000
Subject: note 73637 added to function.odbc-num-rows
Groups: php.notes 
Request: Send a blank email to php-notes+get-124097@lists.php.net to get a copy of this message
After a hour for a searching a good alter function of odbc_num_rows... i try to write it by mysels: function useful_odbc_num_rows($result){ $num_rows=0; while($temp = odbc_fetch_into($result, &$counter)) { $num_rows++; } @odbc_fetch_row($result, 0); // reset cursor return $num_rows; } ---- Server IP: 195.54.192.44 Probable Submitter: 195.210.181.134 ---- Manual Page -- http://www.php.net/manual/en/function.odbc-num-rows.php Edit -- https://master.php.net/note/edit/73637 Del: integrated -- https://master.php.net/note/delete/73637/integrated Del: useless -- https://master.php.net/note/delete/73637/useless Del: bad code -- https://master.php.net/note/delete/73637/bad+code Del: spam -- https://master.php.net/note/delete/73637/spam Del: non-english -- https://master.php.net/note/delete/73637/non-english Del: in docs -- https://master.php.net/note/delete/73637/in+docs Del: other reasons-- https://master.php.net/note/delete/73637 Reject -- https://master.php.net/note/reject/73637 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124097) next »