in reply to Re: SELECT COUNT and DBI: rows
in thread SELECT COUNT and DBI: rows
Therefore, only do the second step and wrap the fetch-function in a while-loop. If you get no results out of your SELECT, the code inside the while-loop will not get executed and no harm is done.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|