Retrieve data from database

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

Retrieve data from database

Postby masjmh » Fri Mar 06, 2015 5:10 pm

Dear All,

I want to retrieve data from db in my template. for e.g. First_name and Last_name. How can I write it in my CM module.
Thanks
masjmh
 
Posts: 12
Joined: Wed Feb 04, 2015 5:27 pm

Re: Retrieve data from database

Postby maschoff » Fri Mar 06, 2015 8:30 pm

You should read the user manual. There are special placeholders to insert any database field into the content of a mailing.
OpenEMM Maintainer
maschoff
Site Admin
 
Posts: 2143
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany

Re: Retrieve data from database

Postby masjmh » Mon Mar 09, 2015 9:53 am

Thanks.
I have found it. It should be written as follows:
Code: Select all
[agnDB column="lastname"]
masjmh
 
Posts: 12
Joined: Wed Feb 04, 2015 5:27 pm


Return to Using OpenEMM

Who is online

Users browsing this forum: No registered users and 2 guests