I am trying to put a variable in as the value of the mail function on my script. I am relatively new to php and I may be making a simple mistake. Here is the script:
$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:firstname.lastname@example.org" target=_top>email@example.com</A> ");
and here is the error I am getting:
PHP Parse error: syntax error, unexpected T_STRING in /hermes/bosweb/web171/b1716/sl.c2cadmin/C2C/Form/processor.php on line 44
Thanks in advance.