OK,
I accually went out and got 2 books for this, 1 on perl, & 1 on cgis. I was looking at different form-mail scrips, and I was wondering is this world work...
Instead of
foreach $col (@db_cols) { print MAIL "$col$rec{$col}|"; } close (MAIL);
Use
print MAIL "$field1{'field1'}|"; "$field2{'field2'}|"; "$field3{'field3'}"; "$field4{'field4'}"; } close (MAIL);
This would give output like.....field1|field2|field3field4
I think, with | (pipe) between 1,2, and 3, but not between 3 & 4, is this correct? Or am I going off on a tangent here?
Anyway thanks for your help,
Ben
I accually went out and got 2 books for this, 1 on perl, & 1 on cgis. I was looking at different form-mail scrips, and I was wondering is this world work...
Instead of
foreach $col (@db_cols) { print MAIL "$col$rec{$col}|"; } close (MAIL);
Use
print MAIL "$field1{'field1'}|"; "$field2{'field2'}|"; "$field3{'field3'}"; "$field4{'field4'}"; } close (MAIL);
This would give output like.....field1|field2|field3field4
I think, with | (pipe) between 1,2, and 3, but not between 3 & 4, is this correct? Or am I going off on a tangent here?
Anyway thanks for your help,
Ben