Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function accountInfo($information)
- {
- $id = ($user->data['user_id']);
- $name = sanitizeString($user->data['username']);
- if ($information == "id") { echo $id; } elseif ($information == "name") { echo $name; } else { echo "Function accountInfo not properly used"; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement