Skip to content

Instantly share code, notes, and snippets.

@rxu
Created September 12, 2015 17:53
Show Gist options
  • Save rxu/da473e83cbf6477764c5 to your computer and use it in GitHub Desktop.
Save rxu/da473e83cbf6477764c5 to your computer and use it in GitHub Desktop.
user_get_id_name() example
$username_ary = array();
// Selecting usernames for user_id of 22, 3, 14 (for example)
$user_id_ary = array(22, 3, 14);
user_get_id_name($user_id_ary, $username_ary);
var_dump($username_ary);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment