• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] How to hide a link for members only

Started by grantj21,

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

grantj21Topic starter

How can I hide a link for login users only I was thinking something like this.
if(array_key_exists('Username', $_SESSION)) { echo '<a href="./demo.php" target="_self"> Demo Page </a>'; }

Any help on this one?
  •  

PHPVibe A.


grantj21Topic starter

  •  

Similar topics (7)