Eiolon wrote:
> I don't need it to be fancy, telling me what the order
was for or who it was
> from. I just want a generic message saying, "A new order
has been submitted."
Find this line in the code above the DOCTYPE:
header(sprintf("Location: %s", $insertGoTo));
Insert a new line immediately in front of it, and add this:
mail('me@example.com','Order submitted', 'A new order has
been
submitted');
Use your own email address instead of me@example.com.
--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/