login
|
FAQ
|
about
|
stats
|
search
CPAN::Forum
Tags
New Post
DBD-mysql
Posted on
2005-06-28 14:38:57-07
by
boyd
in response to
662
Re: How to check if query returns no result?
How about this?
while ( @row = $statementHandle->fetchrow_array() ) { if($row[0]) { print "$row[0]"; } else { print "no result found\n"; } }
Boyd
Direct Responses:
Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs.
click here
to check it out.
Recommended web hosting by M5 hosting