As for as $numrows = $sth->rows; not working, it does work, always has worked with MySQL for selects (and I use it in Oracle), the DBI docs suggest you don't use it for compatabilty across different drivers. And yes I do understand it only returns the current row count affected, not the rows in the table (duh)
In reply to Re: Re: SELECT COUNT and DBI: rows
by ronzomckelvey
in thread SELECT COUNT and DBI: rows
by perleager
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |