Letting admins see certain content on a page?

Forum
Last Post
Threads / Messages

rickasawr

Member
Member
Joined
Apr 25, 2011
Messages
51
Points
0
Location
United States
Mysidian Dollar
4,988
I just needed a little scripting help.

What is the php code for changing the varibles "articlecontent" and "articletitle" for only when admins are veiwing a page?

Thank you very much!
 
Last edited:
Code:
$admin = true;
I'm pretty sure it's that, I was messing around with it on a new page, and it changed the links on my navigation bar to the links you see when you are an admin. :)
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,130
Members
1,603
Latest member
Monako
BETA

Latest Threads

Latest Posts

Top