Jump to content

changing subject based on selection


aladiyat23

Recommended Posts

sorry, i dont follow it as easily as I'm sure it is...

for an example... here are samples of my $message script and my selection...

if ($_SERVER['REQUEST_METHOD']=="POST"){

   $to = "@gmail.com";
   $subject = "Data Request";
   $email = $_POST['requiredemail'];
   $address = $_POST['requiredaddress'];
   $zip = $_POST['requiredzip'];
   $headers = "From: $email \r\n";

  $message = "
   From: $email\n
   Address: $address\n
   Zip: $zip\n";

<select >
  <option>Select One</option>
  <option value="D,tb1^E,tb2">Counts</option>
  <option value="D,tb2^E,tb1">Orders</option>
</select>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.