SourceForge Logo
1.1.5: user_exists


Description
Check if a given username is already in the database. The database will not allow this, so we must check it before we change or add userdata.

Function call
user_exists($newusername);

Input
ParameterDescription
$newusernameThe username which have to be checked by this function.


Output
Whe output is a single var, which indicates if the action succeded or not.

VarDescription
$statusIf set to "0" everything's fine. If set to "1" the username already exists in the database.

« Previous | Index | Next »