We're sorry, but this discussion has just been closed to further replies.
<?php
/* We're using a XN_Query command that will pull out
All content, of type 'USER', or all user objects. */
$results = XN_Query::create('Content')
->filter('type', '=', 'User')
->execute();
foreach($results as $r) {
// This command displays all attributes in the user object. If it's under the my attribute
// then it's pulled by "my->attributeName." Comment this out if you want.
echo $r->debugHtml();
echo "My full name: [" . $r->my->fullName . "]<br>";
echo "My full name: [" . $r->my->birthdate . "]<br>";
}
?>
© 2008 Created by Ning Developer Admin