Hi, I'm an Elgg newbie and I'm trying to build a view of interested users in a table or something like CSV format, but I'm stuck. I'm dealing with the array in "$users" variable in "display_event_users_.php".
this one: $users = event_calendar_get_users_for_event($event_id,$limit,$offset,false);
I can print the array with "print_r":
echo "<pre>";
print_r($users);
echo "</pre>";
But I want to know if there is a way to echo just some user attributes like name, username and email. If there is a way please let me know (:
Thank you in advance..
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.