Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
Wanna select more ranks...
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Davoz" data-source="post: 325596" data-attributes="member: 43184"><p><strong>Hi people,</strong></p><p></p><p>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.</p><p>I'm trying to select more ranks in this snippet but i'm failing a lot.</p><p>I want to select rank 5 and rank 7 and rank 9. Do you know how to fix that in this code below?</p><p>[CODE]<?php } if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 5) { ?> [/CODE]</p><p></p><p>Please leave the fix in a comment!</p><p></p><p>Kind regards,</p><p></p><p>Davoz</p></blockquote><p></p>
[QUOTE="Davoz, post: 325596, member: 43184"] [B]Hi people,[/B] 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) { ?> [/CODE] Please leave the fix in a comment! Kind regards, Davoz [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
Wanna select more ranks...
Top