Skip to main content
Inspiring
January 3, 2008
Answered

PHP Email - Repeat Region Equivalent in Body?

  • January 3, 2008
  • 2 replies
  • 536 views
My client wants a summary of products registered in the body of an email. My email script works great but I don't know how to add the summary of products (what I'm calling a 'repeat region').

Thanks in advance for your advice and feedback

This topic has been closed for replies.
Correct answer jasons
Hi David,

Thanks for the help and my apologies for not being precise.

My recordset looks something like:

cust_id product_name order_date
100 PRODUCTA 12/23/08
100 PRODUCTB 11/23/07
100 PRODUCTC 09/22/07

So a customer could have 1 or 100 products registered so you can see why I would like to create the equivalent of a repeating region in the body of the message.

Is this more helpful to you?

2 replies

January 5, 2008
quote:

Originally posted by: jasons
My client wants a summary of products registered in the body of an email. My email script works great but I don't know how to add the summary of products (what I'm calling a 'repeat region').

Thanks in advance for your advice and feedback





I suggest you build a CMS for your web . If you have 100 clients or planning to have that , there's no reason for you to repeat region in PHP mail ().
Inspiring
January 3, 2008
jasons wrote:
> My client wants a summary of products registered in the body of an email. My
> email script works great but I don't know how to add the summary of products

I don't know what you mean by a summary of products. Where is the
information going to come from? What will it contain?

--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
jasonsAuthor
Inspiring
January 3, 2008
Thanks for the reply. My recordset, which grabs the person's email address, also contains product names registered to the person. What I am hoping for is a section of the email body to looks like this:

"Registered Products:

PRODUCTA
PRODUCTB
PRODUCTC
ETC
"