View Single Post
  #2  
Old 09-17-2008, 06:26 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,927

Here is a good tutorial on php and web forms:
http://www.w3schools.com/php/php_forms.asp

Read the above brief tutorial and then follow below...

As for adding them into the body of the email phMailer sends,
you will want to find the line:
$message.="$yourmessage";

Basically, create a new line two lines above it and replace $yourmessage with your $_POST information.

An example would look like:

$message.="Company Name: $_POST['company_name']";
$message.="\n";
$message.="Another field: $_POST['field_name']";
$message.="\n";
$message.="$yourmessage";

Sorry if this is a bad explanation, im not to good at explaining things.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote