print after while loop not executing.
Posted on 1998-11-19
Why is the print statement after this while loop never being reached and how do I fix the problem:
$cursor = $db->prepare($sql) or die "Unable to Execute SQL: $DBI::errstr";
$cursor->execute or die "Unable to Execute SQL: $DBI::errstr" ;
while (@row = $cursor->fetchrow_array or die "<br>FETCH DIED:<br> $DBI::errstr")
print "<Strong>Row $countit</STRONG><br>\n";
print "REPORT COMPLETE<br>";