in reply to Re: Creating Dynamic SQL statements using arrays
in thread Creating Dynamic SQL statements using arrays

If I've understood your question, you just need to use $sth->rows, which returns the number of results from your query.

BCE
--Your punctuation skills are insufficient!

Replies are listed 'Best First'.