Forum Stats

  • 3,826,774 Users
  • 2,260,707 Discussions
  • 7,897,072 Comments

Discussions

Perl script not rendering values

Jcgo-Oracle
Jcgo-Oracle Member Posts: 653 Employee
edited Nov 24, 2014 2:44PM in PHP

I have a perl script that runs a form submission and sends me an email after user completes the form.

Once I get the mail, i see the form fields BUT I do not see the values that the user would enter.

Here is a snippet:

print MAIL "...If Contractor, employed by: $FORM{'Contractor_Employer'}\n";

print MAIL "...If Visitor, employed by: $FORM{'Visitor_Employer'}\n";

print MAIL "...If Reporting unsafe condition or other safety related issue:\n";

print MAIL "$FORM{'Unsafe_Conditions'}\n";

print MAIL "\n";

print MAIL "IDENTIFICATION DETAILS\n";

print MAIL "...Full Name of Injured: $FORM{'NameInjured'}\n";

print MAIL "...Job Title: $FORM{'JobTitle'}\n";

print MAIL "...Date Hired: $FORM{'DateHired'}-$FORM{'DHMonth'}-$FORM{'YearHired'} \n";

print MAIL "...Gender: $FORM{'Gender'}\n";

print MAIL "...Manager's Name: $FORM{'Emp_Manager

***************

any ideas?

Answers

This discussion has been closed.