Hello Everyone,
I have sql query that returns data in the following format
--------------------------------------------------
userID | email | title | url | description
--------------------------------------------------
1 | email1 | title1 | url1 | description1
1 | email1 | title11 | url11 | description11
2 | email2 | title2 | ur21 | description2
2 | email2 | title21 | url21 | description21
I would like to send an email to each user in the following format: For example user one would receive
UserID 1
title1
url1
description1
title11
url11
description11
How can I accomplish this? I can send one email message for each row but want each user to receive just one message with all their information.
Thanks
I have sql query that returns data in the following format
--------------------------------------------------
userID | email | title | url | description
--------------------------------------------------
1 | email1 | title1 | url1 | description1
1 | email1 | title11 | url11 | description11
2 | email2 | title2 | ur21 | description2
2 | email2 | title21 | url21 | description21
I would like to send an email to each user in the following format: For example user one would receive
UserID 1
title1
url1
description1
title11
url11
description11
How can I accomplish this? I can send one email message for each row but want each user to receive just one message with all their information.
Thanks