Jump to content

Archived

This topic is now archived and is closed to further replies.

darkcarnival

hiding a category question

Recommended Posts

hi,

on a program i made i would like to hide member-only categories but i do not know how to do it.

currently the category will appear but when a gust enters it they get a access denied message. iidealy i would like it to be hidden from guests.

question is, how do i do this?

thanks :)

Share this post


Link to post
Share on other sites
[code]if ($you_are_a_member == "yes") {
    echo category;
} [/code]

I'm sure you can work something like that into your script.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.