This topic contains 3 replies, has 3 voices. Last updated by Eduan 4 years, 3 months ago.
Topic Author | Topic |
---|---|
Posted: Thursday Oct 4th, 2012 at 10:37 pm #27519 | |
Note: This posting by Bob Easton, tech support for Mary May. My very shallow PHP experience gets me ~almost~ where I want to be. I need a little help getting the rest of the way. Goal: issue an email to a user when an EOT demotion occurs. I’ve gotten as far as seeing the action occur and extracting all the variables available. Yet, I haven’t been successful in correctly addressing the ones I want. I’ve been doing this by trial and error, grabbing a little bit as people let memberships lapse. In between the infrequency of such activity and the inadequacy of my own PHP skill, progress is very slow. A little help please? I’m using the following code to collect available variables:
From that, I get a very long response (920 lines) in which I see a lot that interests me. In particular, I would like to use “display_name” and “user_email” but don’t know exactly how to address them. For example, how would I correctly code the functional equivalent of: $to = $user_email; Here’s a small part of that array:
Advice? Thanks, Bob
|