DBD-mysql - Re: How to check if query returns no result?

Posted on Tue Jun 28 17:38:57 2005 by boyd in response to 662 (See the whole thread of 2)
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
Write a response