> 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>" -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php