Hi guys. As I have said in my earlier posts, I am new to PHP. Still feeling my way through. I have a script that takes information from a form and places it into a mysql database. This same script sends some of the information to an email address that I specify and it also sends an order confirmation to the customer's email address. I am trying to find out how to remove some of the information in two of the values so that I may add those two values and display a total in those emails. An example of those two possible values is listed below.
<input class=mainForm type=radio name=field_4 id=field_4_option_1 value="8x10 +$39.00 each" />
<input class=mainForm type=radio name=field_9 id=field_9_option_1 value="Convert image to Sepia Tone +$9.95" />
Here is the code that I am trying to insert the data into. I need the information to be placed in the section labled total....
$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'] . " Total: " . $_POST[' Please contact us with any questions or concerns at firstname.lastname@example.org ");
Any help here would be great! Thanks in advance..