in reply to Perl and MySQL: Get number of rows affected
see DBImy $select = "SELECT value FROM table WHERE distinguishing_value = ?"; my $sth = $dbh->prepare($select) or die $dbh->errstr(); $sth->execute() or die $dbh->errstr(); print $sth->rows;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl and MySQL: Get number of rows affected
by gellyfish (Monsignor) on Jul 15, 2006 at 08:14 UTC |