in reply to Re: SELECT COUNT and DBI: rows
in thread SELECT COUNT and DBI: rows
OK, now I'm really confused. I do that all the time! I do a select, and use rows to check if it returned anything. Don't I? (Goes to check...) yes I do. I have code like this:
## prepare some SELECT statement $sth->execute() || die "Error: " . $dbh->errstr; if( $sth->rows > 0 ){ ## do some stuff }
($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss') =~y~b-v~a-z~s; print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: SELECT COUNT and DBI: rows
by dws (Chancellor) on Sep 29, 2003 at 00:07 UTC | |
by Cody Pendant (Prior) on Sep 29, 2003 at 02:02 UTC |