<?php $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/")); // Checkbox handling $field_8_opts = $_POST['field_8'][0].",". $_POST['field_8'][1].",". $_POST['field_8'][2].",". $_POST['field_8'][3].",". $_POST['field_8'][4].",". $_POST['field_8'][5].",". $_POST['field_8'][6]; $field_9_opts = $_POST['field_9'][1].",". $_POST['field_9'][2]; mail("email@email.comt","Online Enquiry","Form data: Name: " . $_POST['field_1'] . " Company Name: " . $_POST['field_2'] . " Email ID: " . $_POST['field_4'] . " Phone Number: " . $_POST['field_3'] . " Website URL: " . $_POST['field_5'] . " Entity Type: " . $_POST['field_6'] . " Message: " . $_POST['field_7'] . " Dialing Method: " . $field_9_opts . " VOIP Reqd: " . $field_8_opts ); // There. There was a double quote. include("confirm.html"); ?> PHP: