Combobox and PHP Form Help


hi there, buidling enquiry form on website , have combobox has 6 values in , when email sent uses php send form. on testing works email sent , email fields , name of combobox appears no value/ user has selected. can help, problem php or flash file? below php code:

the part combobox relating "interested in: "

<?php

$sendto = "??@??.co.uk";
$subject = "???";

$headers = "from: " . $_post["name"] ." <" . $_post["email"] .">\r\n";
$headers .= "reply-to: " . $_post["email"] . "\r\n";
$headers .= "return-path: " . $_post["email"];

$message = "name: " . $_post["name"] . "\r\n" .
"company: " . $_post["company"] . "\r\n" .
"email: " . $_post["email"] . "\r\n" .
"address 1: " . $_post["address1"] . "\r\n" .
"address 2: " . $_post["address2"] . "\r\n" .
"town: " . $_post["town"] . "\r\n" .
"phone: " . $_post["phone"] . "\r\n" .
"post code: " . $_post["postcode"] . "\r\n" .
"interested in: " . $_post["interest"] . "\r\n" .
"message: " . $_post["message"];

mail($sendto, $subject, $message, $headers);

?>

if need else please let me know

cheers

it'd in flash, not php. sending
combobox.selecteditem.data or combobox.selecteditem.label?

--
dave -
head developer
http://www.blurredistinction.com
adobe community expert
http://www.adobe.com/communities/experts/




More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support