Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. function accountInfo($information)
  2. {
  3. $id = ($user->data['user_id']);
  4. $name = sanitizeString($user->data['username']);
  5.  
  6. if ($information == "id") { echo $id; } elseif ($information == "name") { echo $name; } else { echo "Function accountInfo not properly used"; }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement