RE: [PHP-WIN] odbc_num_rows() function
| From: | HKG) | Date: | Mon, 28 Oct 2002 13:09:11 +0000 |
| Subject: | RE: [PHP-WIN] odbc_num_rows() function | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16587@lists.php.net to get a copy of this message | ||
> while (odbc_fetch_row($rec)) { $counter++; }
> print ($counter); //prints the total records
>
> but this alternate way is very time and resource consuming,
>
> any suggestions ???
$Query = "SELECT COUNT(*) FROM <some where> WHERE <condition is fubar>"