Gossamer Forum
Home : Products : DBMan : Discussions :

Re: Combining Fields

Quote Reply
Re: Combining Fields In reply to
The pipe in red looks like the problem, try taking it out:

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);


Hope this helps,

- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Subject Author Views Date
Thread Combining Fields bjblackmore 4578 Oct 12, 2000, 9:17 AM
Thread Re: Combining Fields
AstroBoy 4465 Oct 12, 2000, 3:24 PM
Thread Re: Combining Fields
bjblackmore 4450 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 4446 Oct 13, 2000, 4:33 AM
Post Re: Combining Fields
bjblackmore 4445 Oct 16, 2000, 4:33 AM
Post Re: Combining Fields
bjblackmore 4427 Oct 16, 2000, 9:04 AM