Perl-Sensitive Sunglasses | |
PerlMonks |
Re: if (empty record set)by hardburn (Abbot) |
on Jun 26, 2003 at 14:55 UTC ( [id://269255]=note: print w/replies, xml ) | Need Help?? |
Instead of using $sth->fetchrow(), call $sth->rows() instead, which returns the number of rows that were hit:
---- Note: All code is untested, unless otherwise stated
In Section
Seekers of Perl Wisdom
|
|