Here is the entire script so you can see which line is 44.
<?php
$where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));
// File upload handling
if($_FILES['field_6']['name']!=''){
$field_6_filename = "file_6_".date("sihdmY").substr($_FILES['field_6']['name'],strlen($_FILES['field_6']['name'])-4);
if(!move_uploaded_file($_FILES['field_6']['tmp_name'], "./files/".$field_6_filename)){
die("File " . $_FILES['field_6']['name'] . " was not uploaded.");
}
}
include("config.inc.php");
$link = mysql_connect($db_host,$db_user,$db_pass);
if(!$link) die ('Could not connect to database: '.mysql_error());
mysql_select_db($db_name,$link);
$query = "INSERT into `".$db_table."` (field_1,field_2,field_3,field_4,field_5,field_6,field_7,field_8,field_9,field_10,field_11,field_12,field_13,field_14) VALUES ('" . $_POST['field_1'] . "','" . $_POST['field_2'] . "','" . $_POST['field_3'] . "','" . $_POST['field_4'] . "','" . $_POST['field_5'] . "','" . $_POST['field_6'] . "','" . $_POST['field_7'] . "','" . $_POST['field_8'] . "','" . $_POST['field_9'] . "','" . $_POST['field_10'] . "','" . $_POST['field_11'] . "','" . $_POST['field_12'] . "','" . $_POST['field_13'] . "','" . $_POST['field_14'] . "')";
mysql_query($query);
mysql_close($link);
mail("","phpFormGenerator - Form submission","Form data:
Customer Name: " . $_POST['field_1'] . "
Customer Email: " . $_POST['field_2'] . "
Quantity: " . $_POST['field_3'] . "
Size: " . $_POST['field_4'] . "
Special Instructions: " . $_POST['field_5'] . "
Upload Your Image Here: ".$where_form_is."files/".$field_6_filename." (original file name: " . $_FILES['field_6']['name'] . ")
Shipping Information: " . $_POST['field_7'] . "
Ship to Address: " . $_POST['field_8'] . "
Please read and check this option or your image will not be reproduced.: " . $_POST['field_9'] . "
Alterations: " . $_POST['field_10'] . "
: " . $_POST['field_11'] . "
: " . $_POST['field_12'] . "
: " . $_POST['field_13'] . "
: " . $_POST['field_14'] . "
");
$busmail = $_POST['field_2']
mail(" . $busmail . ","Order Confirmation","Your Order Has Been Received And Is Now Being Processed.
Quantity: " . $_POST['field_3'] . "
Size: " . $_POST['field_4'] . "
Special Instructions: " . $_POST['field_5'] . "
Please contact us with any questions or concerns at <A href="mailto:c2c@capturedtocanvas.com" target=_top>c2c@capturedtocanvas.com</A>
");
include("confirm.html");
?>