in reply to Re: SELECT COUNT and DBI: rows
in thread SELECT COUNT and DBI: rows
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: SELECT COUNT and DBI: rows
by dws (Chancellor) on Sep 28, 2003 at 21:15 UTC |