in reply to Re: Getting a count of all rows in MySQL
in thread Getting a count of all rows in MySQL
you can use this.my $data = qq[SELECT COUNT(*) FROM questions WHERE `q1` = "upright"]; my @results = $dbh->selectrow_array($data); print $results[1];
|
|---|