Skip to content

Instantly share code, notes, and snippets.

@ermst4r
Created December 14, 2017 06:50
Show Gist options
  • Save ermst4r/775c2f53dead907d8ffc5db6d62f1f8d to your computer and use it in GitHub Desktop.
Save ermst4r/775c2f53dead907d8ffc5db6d62f1f8d to your computer and use it in GitHub Desktop.
$data = array (
'email' => (isset($_GET['email']) ? $_GET['email'] : ''),
'voornaam' => (isset($_GET['firstname']) ? $_GET['firstname'] : ''),
'achternaam' => (isset($_GET['lastname']) ? $_GET['lastname'] : ''),
'geslacht' => (isset($_GET['gender']) ? $_GET['gender'] : ''), // m v
'geboortedatum' => (isset($_GET['dob']) ? $_GET['dob'] : ''), // dd-mm-yy
'actieid' => '4',
'campaign' => 'basebuilders',
'campaign_medium' => $campaign_medium,
'specification' => $specificatie,
'source' => 'basebuilders',
'fee' => $fee,
'content' => $specificatie,
'medium' => 'cpl',
'link' => $link,
);
$Engine->subscribeNewsLetter($data,'subscribe');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment