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 »

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: 2597
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Re: Retrieve data from database

Post by maschoff »

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 »

Thanks.
I have found it. It should be written as follows:

Code: Select all

[agnDB column="lastname"]
Post Reply