Hello folks,
I am having trouble having DBI tell me the number of rows in a table. The regular way, I know, is to query 'select * from table' and store the number of rows returned by the
$sth->execute( ); DBI method. The problem is that this isnīt working for me when I do a SELECT query without restrictions (as I was supposed to do in this case). Anyone knows any other way of getting the number of records? Is there any way to do that without a query? I mean, I have a table that will soon reach some hundred thousand records and 'select * from table' is a hell of a work to put in a script thatīs supposed to output in my siteīs front door the number of records available for searching.
I wait for thy wisdom.
Thanks a lot, my friends!
André