Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Can anyone tell me how to get the Affiliate ID after using the affiliate's link to access the website? I need to use this variable in a SQL statement.
Comments
Comment #1
johnhorning CreditAttribution: johnhorning commentedanybody there?
Comment #2
johnhorning CreditAttribution: johnhorning commentedThanks to a little help from Rahul, I figured out the affiliate ID is stored in $_SESSION['affiliate'].
Comment #2.0
johnhorning CreditAttribution: johnhorning commentedtype