Retrieve data from database

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

masjmh
Posts: 12
Joined: Wed Feb 04, 2015 5:27 pm

Retrieve data from database

Post by 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

maschoff
Site Admin
Posts: 2147
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Retrieve data from database

Post by 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

masjmh
Posts: 12
Joined: Wed Feb 04, 2015 5:27 pm

Re: Retrieve data from database

Post by 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"]

Post Reply