Gossamer Forum
Home : Products : DBMan : Discussions :

Re: Combining Fields

Quote Reply
Re: Combining Fields In reply to
In the html.pl, under the html_add_success routine I added a section that e-mails the results to me!

my (%rec) = &get_record($in{$db_key}); open (MAIL, "$mailprog") || &cgierr("Can't start mail program"); print MAIL "To: $admin_email\n"; print MAIL "From: $rec{'EMAIL'}\n"; print MAIL "Subject: $html_title\n\n"; foreach $col (@db_cols) { print MAIL "$col$rec{$col}|"; } close (MAIL);

Any help greatly appreciated!
Ben

Subject Author Views Date
Thread Combining Fields bjblackmore 4579 Oct 12, 2000, 9:17 AM
Thread Re: Combining Fields
AstroBoy 4465 Oct 12, 2000, 3:24 PM
Thread Re: Combining Fields
bjblackmore 4451 Oct 13, 2000, 1:11 AM
Thread Re: Combining Fields
AstroBoy 4448 Oct 13, 2000, 1:41 AM
Thread Re: Combining Fields
bjblackmore 4454 Oct 13, 2000, 2:18 AM
Thread Re: Combining Fields
AstroBoy 4447 Oct 13, 2000, 4:33 AM
Post Re: Combining Fields
bjblackmore 4445 Oct 16, 2000, 4:33 AM
Post Re: Combining Fields
bjblackmore 4428 Oct 16, 2000, 9:04 AM