Email confirmation?
| From: | Boa Constructor | Date: | Wed, 11 Jun 2003 17:01:03 +0000 |
| Subject: | Email confirmation? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28546@lists.php.net to get a copy of this message | ||
Greetings every1 ........ I'm wondering how I can send the details of an
order to an email address. I have a foreach loop which loops through an
array and each time round the loop it runs a query on the database to get
product details. If for instance they ordered 5 different items then I
would need to loop 5 times to get all the product information. The way I
see it, I can't make a call to the mail() function within the foreach loop
as that would send out an email for each product ordered.
Any ideas how to send all the order information all in one email?
Cheers for any ideas,
Graeme :)