Anyways....here is the code:
Code: Select all
<?php
if (!isset ($_REQUEST['package'])){
$answer = 0;
}
if (!isset ($_REQUEST['flash']) && ($_REQUEST['phpForm']) && ($_REQUEST['asp']) && ($_REQUEST['cms'])) {
$answer = 0;
}
if (!isset ($_REQUEST['fname']) || ($_REQUEST['lname']) || ($_REQUEST['email']) || ($_REQUEST['phone']) || ($_REQUEST['address']) || ($_REQUEST['city'])
|| ($_REQUEST['zip']) || ($_REQUEST['flash']) || ($_REQUEST['phpForm']) || ($_REQUEST['asp']) || ($_REQUEST['cms'])) {
echo "Thank you for your interest in a GKW Website. Please fill out the form below to get an estimate for your website.";
}
$fname = $_REQUEST['fname'];
$lname = $_REQUEST['lname'];
$email = $_REQUEST['email'];
$phone = $_REQUEST['phone'];
$address = $_REQUEST['address'];
$city = $_REQUEST['city'];
$state = $_REQUEST['state'];
$zip = $_REQUEST['zip'];
$package = $_REQUEST['package'];
$packagePrices = array (
'Basic' => 1500,
'Professional Lite' => 2300,
'Premium Professional' => 3500
);
$flash = $_REQUEST['flash'];
$flashPrice = 500;
$phpForm = $_REQUEST['phpForm'];
$phpPrices = array (
'1' => 200,
'2' => 400,
'3' => 600,
'4' => 800,
'5' => 1000
);
$asp = $_REQUEST['asp'];
$aspPrice = 1500;
$cms = $_REQUEST['cms'];
$cmsPrice = 3000;
?>Thanks everah...you and feyd have been a great help.
--
Greg