Before the while() loop:
my @my_jobs;
Then change this: $my_job = "<tr><td style=\"width:60px;padding:0;\">$picture - <a href=\"/get-job.pl?jobnum=$jobnum\">$contact</a></td></tr>";, to:
push @my_jobs, "<tr><td style=\"width:60px;padding:0;\">$picture - <a +href=\"/get-job.pl?jobnum=$jobnum\">$contact</a></td></tr>";
Then change: print MAILHTML "$my_job"; to:
print MAILHTML "$_\n" for @my_jobs;
In reply to Re: More loop issues
by stevieb
in thread More loop issues
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |