Ok. So your "database" is defined here:
my $gbdata="http://www.perl03.georgeself.com/cgi-bin/forms.txt";
All you should need to do is add a line to save() and a few more lines to display():
See if this works for ya!sub save { ... print GB "problem: ", param('problem'), "\n"; print GB "time: ", scalar(localtime), "\n"; ... } ... sub display { ... $prob=<GB>; my $time=<GB>; ... # print $time however you like }
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re^5: Add timestamp to helpdesk form
by jeffa
in thread Add timestamp to helpdesk form
by csorrentini
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |