Thread if exist ?? (5 answers)
Opened by Ronaldl at 2003-10-09 22:19

Gast Gast
 2003-10-13 18:29
#35435 #35435
[...]

$sth->execute($_) or die print "Couldn't execute statement: $DBI::errstr; stopped";

while (my $ref = $sth->fetchrow_hashref()) { }

if ($sth->rows != "0")
{
print "dataset exists \n";
}
else
{
print "nothing found \n";
}

[...]

View full thread if exist ??