PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
so the form mails but it doesnt do anything really what i need it to do is send the total price amount plsu the total quantity amount and how much purchased of each item to the email adress of that person who is making the orders. then if submittied i want it to echo thank you for shopping at lilyshop your order has been processed! and like a subtotal for each item
mail('mowtripleh@example.com',"From: $name <$email>","Total Amount:$totalamount","Quantity Ordered:$qty");
if (mail('mowtripleh@example.com',"From: $name <$email>","Total Amount:$totalamount","Quantity Ordered:$qty"))
{
echo ("<p>Thank you for shopping at Lillys Shop! Your OrderHas Been Sent!</p>");
}
if (mail('mowtripleh@example.com',"From: $name <$email>","Total Amount:$totalamount","Quantity Ordered:$qty"))
{
echo ("<p>Thank you for shopping at Lillys Shop! Your OrderHas Been Sent!</p>");
}else{
echo 'Email did not send';//notify admin...blah blah blah
}