Code not working

Status
Not open for further replies.

Baevus

the names ethan
Nov 4, 2012
565
47
I'm rank 8 in my hotel.
My code is:
PHP:
                    <?php if($rank >=4) { ?>
                    <li><a href="{url}/ase">Housekeeping</a><span></span></li>
                    <? } ?>
And it won't show.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,199
3,934
I'm assuming this is RevCMS, try this:

PHP:
<?php if($_SESSION['user']['rank'] >= 4) { ?>
<li><a href="{url}/ase">Housekeeping</a><span></span></li>
<?php } ?>
 
Status
Not open for further replies.

Users who are viewing this thread

Top