- Original Poster
- #1
I'm busy working on a site that will sell printed cards announcing the birth of a rugrat. The customer enters the baby's details into a form and submits. We run the details through a validator and then want the customer to check the details before the order is sent (by email).
I suspect that it's really easy to but I can't figure it out:
1. Complete form and submit.
2. Sanitize and validate.
3. Display details for customer to check.
4. Click on a button to place order.
5. Make payment.
It's step 4 I can't do. How do I get everything to stop until the visitor clicks on the 'place order' link and the php mail() function executes.
I suspect that it's really easy to but I can't figure it out:
1. Complete form and submit.
2. Sanitize and validate.
3. Display details for customer to check.
4. Click on a button to place order.
5. Make payment.
It's step 4 I can't do. How do I get everything to stop until the visitor clicks on the 'place order' link and the php mail() function executes.