getUserData
The getUserData function is the main function used in Jamroom for returning information about a user. It is used by the Jamroom Session management functions to return the entire $_USER array upon successful user validation.
array
getUserData
(string $user, [string $pass = false], [bool $by_user_id = false], [string $user_del = 'no'])
-
string
$user: User Nickname
-
string
$pass: User password
-
bool
$by_user_id: Are we selecting by user_nickname or user_id
-
string
$user_del: If User_Del is set to "no" it enforces the user_deleted column = 'no' clause.
|