Hi people,
This is a snippet where the revcms is asking which rank you've got. And if you've got a rank below rank 5 you don't have access in the panel. Now he only select rank 5 and higher.
I'm trying to select more ranks in this snippet but i'm failing a lot.
I want to select rank 5 and rank 7 and rank 9. Do you know how to fix that in this code below?
Please leave the fix in a comment!
Kind regards,
Davoz
This is a snippet where the revcms is asking which rank you've got. And if you've got a rank below rank 5 you don't have access in the panel. Now he only select rank 5 and higher.
I'm trying to select more ranks in this snippet but i'm failing a lot.
I want to select rank 5 and rank 7 and rank 9. Do you know how to fix that in this code below?
Code:
<?php } if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 5) { ?>
Please leave the fix in a comment!
Kind regards,
Davoz