darkcarnival Posted March 11, 2006 Share Posted March 11, 2006 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 :) Quote Link to comment https://forums.phpfreaks.com/topic/4660-hiding-a-category-question/ Share on other sites More sharing options...
AndyB Posted March 11, 2006 Share Posted March 11, 2006 [code]if ($you_are_a_member == "yes") { echo category;} [/code]I'm sure you can work something like that into your script. Quote Link to comment https://forums.phpfreaks.com/topic/4660-hiding-a-category-question/#findComment-16313 Share on other sites More sharing options...
darkcarnival Posted March 11, 2006 Author Share Posted March 11, 2006 ok yeah that sounds simple enough :)thanks :) Quote Link to comment https://forums.phpfreaks.com/topic/4660-hiding-a-category-question/#findComment-16326 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.