nlafferty has asked for the wisdom of the Perl Monks concerning the following question:
while (@row = $sth->fetchrow()){ $total_hours = $row[4]; $total_minutes = $row[5]; print <<HTML; <TR BGCOLOR="#FFFFFF"> <TD><FONT SIZE=2 FACE=ARIAL>$print_date</FONT></TD> <TD><FONT SIZE=2 FACE=ARIAL>$row[1]</FONT></TD> <TD><FONT SIZE=2 FACE=ARIAL>$in_time</FONT></TD> <TD><FONT SIZE=2 FACE=ARIAL>$out_time</FONT></TD> <TD><FONT SIZE=2 FACE=ARIAL>$row[4]:$row[5]</FONT></TD> HTML } # End of while.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Totaling a list of times
by tomhukins (Curate) on Oct 25, 2001 at 00:06 UTC | |
by nlafferty (Scribe) on Oct 25, 2001 at 00:41 UTC | |
|
Re: Totaling a list of times
by thunders (Priest) on Oct 25, 2001 at 01:55 UTC |