? Yet another dumb question…
Calling include files depending on users status.
Hello again all, another in my list of oh so basic questions… My apologies.
Normally I look at the source of a site that uses a similar script to see where to start… I admit it my PHP skills are duff.
The task I need to perform is that depending on if the user is logged in, and if so their membership level, whether an include script is called.
i.e. if the user is not a member of my site (or just not signed in) they get a “join now” invitation called from an include file, and if they are a logged in member they get a page with the full content… from another include file.
How do I set the code up… pretty please.
Any ideas?
Many thanks
Mouse