[Solved] PHP and Mysql Permission system [closed]


Try to use this:

 if ($accounttype == 'a') {
    print 'Member';
 } elseif ($accounttype == 'b') {
    print 'Moderator';
 } elseif ($accounttype == 'c') {
    print 'Admin';
 } else {
    print 'No rank';
 }

You need use strings in a quotes, and don’t forget semicolons ; at the end of line

3

solved PHP and Mysql Permission system [closed]