Dear Sir/Madam,

I have the following coding:

line 70:  my $sth=$dbh->do("select * from temp where
ID = '$Staff_ID' and Date = '$Date' and Time !=
'$Time' order by Time desc");

line 71:  while(my @Data=$sth->fetchrow_array) {
......
}

but when i run it, the following error message was
displayed:

Can't call method "fetchrow_array" without a package
or subject reference at of.pl line 71, <INPUT> line 1.

Can you help me to solve this problem.

Thanks

Best Regards,

Ida


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

Reply via email to