ok so here is the html form
[code]
Name:
E-Mail:
Contact Number:
What type of website?
How many pages?
Brief description of your project
here the php
[php]<?php
$emailSubject = ‘quoteformprocess!’;
$webMaster = ‘[email protected]’;
$name = $_POST[‘name’];
$email = $_POST[‘email’];
$number = $_POST[‘number’];
$websitetype = array(1 => “brochure”, 2 => “ecommerce”, 3=>“cms”, 4=>“other”);
$websitetype = $websitetype[(int) $_POST[‘websitetype’]];
$webpages = array(1 => “1”, 2 => “2-5”, 3=>“5-10”, 4=>“10-20”, 5=>“20+”);
$webpages = $webpages[(int) $_POST[‘webpages’]];
$body = <<<EOD
Name: $name
Email: $email
Number: $number
Websitetype: $websitetype
Webpages: $webpages
EOD;
$headers = “From: $email\r\n”;
$headers .= “Content-type: text/html\r\n”;
$success = mail($webMaster, $emailSubject, $body,
$headers);
/* Results rendered as HTML */
$theResults = <<<EOD
the fields post fine but the selection is blank…all help is appreciated thank you