close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Displaying Recordset Details in Email Body

Thread began 4/19/2021 9:49 am by laurafrd398148 | Last modified 4/22/2021 5:22 pm by Ray Borduin | 946 views | 17 replies |

laurafrd398148

Displaying Recordset Details in Email Body

Hi, I am trying to send email to multiple recipients. How do I get the first name (from recordset) of each recipient showing in their respective email. I tried the adding 'global recordsetname' at the top of the template but that is not working.

Recordset for the looping of the emails is $patrolUsers;
Emails are sent to $patrolUsers->getColumnVal("email") column from the database

I want to also show $patrolUsers->getColumnVal("fname") in the body of the email that is sent out.

Note: I am using the latest version of Data Assist.

Any help will do.

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

Adding the global should work. Please attach the files and I can see if I can spot the problem.

Sign in to reply to this post
Did this help? Tips are appreciated...

laurafrd398148

Please see the attached. Thanks

Sign in to reply to this post

Ray BorduinWebAssist

Your global declaration looks like:

php:
<?php;

global $patrolUsers;
global $memfullName
?>


it should be:

php:
<?php

global $patrolUsers$memfullName;
?>



If that still doesn't work, then I'd have to debug it live with FTP access to see why.

Sign in to reply to this post
Did this help? Tips are appreciated...

laurafrd398148

Thanks for the fast response :) but is not working.

Unfortunately I can't give ftp details as this is on a company's internal local server.

Please is it possible to get like a sample file that is working so I can model my code after that?

Thanks for the help.

Sign in to reply to this post

Ray BorduinWebAssist

I really need to debug it... Can we do screen sharing?

Sign in to reply to this post
Did this help? Tips are appreciated...

laurafrd398148

Please see PM for details.

Thank you very much

Sign in to reply to this post

Ray BorduinWebAssist

How can I browse to the page and send a test email?

Sign in to reply to this post
Did this help? Tips are appreciated...

laurafrd398148

Please see pm

Sign in to reply to this post

laurafrd398148

Hi,
Please see pm. Thanks

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...