";
include_once('feedback_form.inc');
echo "";
}
function process_form() {
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$phone = $_REQUEST['phone'];
$order = $_REQUEST['order'];
$day = $_REQUEST['day'];
$month = $_REQUEST['month'];
$driver = $_REQUEST['driver'];
$survey01 = $_REQUEST['survey01'];
$survey02 = $_REQUEST['survey02'];
$survey03 = $_REQUEST['survey03'];
$survey04 = $_REQUEST['survey04'];
$survey05 = $_REQUEST['survey05'];
$survey06 = $_REQUEST['survey06'];
$survey07 = $_REQUEST['survey07'];
$survey08 = $_REQUEST['survey08'];
$survey09 = $_REQUEST['survey09'];
$survey10 = $_REQUEST['survey10'];
$survey11 = $_REQUEST['survey11'];
$survey12 = $_REQUEST['survey12'];
$survey13 = $_REQUEST['survey13'];
$survey14 = $_REQUEST['survey14'];
$survey15 = $_REQUEST['survey15'];
$survey16 = $_REQUEST['survey16'];
$survey17 = $_REQUEST['survey17'];
$survey18 = $_REQUEST['survey18'];
$restaurant = $_REQUEST['restaurant'];
$comment = $_REQUEST['comment'];
ini_set("sendmail_from", "survey@dial4dinner.com");
mail("barryencore@earthlink.net", "TelephoneTakeout/Dial4Dinner: Customer Survey", "\nCustomer Information:\n\nName: $name\nEmail: $email\nPhone Number: $phone\n\n\n\nOrder Information:\n\nOrder Number: $order\nDate of Order: $month $day\nDriver Name: $driver\n\n\n\nCOSTUMER ANSWERS TO THE FEEDBACK FORM:\n\nWas your CSR friendly and knowledgeable?: $survey01\n\nHow was the courtesy of operator taking your order: $survey02\n\nSpeed and efficiency of order taking process: $survey03\n\nOperator knowledge of restaurants: $survey04\n\nOperator's knowledge of restaurant's food: $survey05\n\nWas your Mobile Waiter friendly?: $survey06\n\nHow was the appearance of Mobile Waiter?: $survey07\n\nDid your food arrive hot?: $survey08\n\nWere you satisfied with the food of this restaurant?: $survey09\n\nWas your delivery time longer than expected?: $survey10\n\nAccuracy/Completeness of order: $survey11\n\nOverall, how would you rate your experience?: $survey12\n\n\nWould you use this service again?: $survey13\n\nWould you recommand us to friends?: $survey14\n\n\nDo you think 60 minutes is too long to wait?: $survey15\n\nIn the past, have you had any problems with TelephoneTakeout service or orders?: $survey16\n\nIf yes, did you inform TelephoneTakeout?: $survey17\n\nHow did we handle the problem?: $survey18\n\n\nDo you have a favorite restaurant you would like to see us add?: $restaurant\n\n\n\nCostumer comments or suggestions:\n\n$comment");
echo " Thank you $name !Your comments have been sent successfully. ";
}
?>
|