PDA

View Full Version : Brain Fart How do I restrict a feature to two staff members


scottct1
07-12-2008, 07:27 PM
Ok this one should be simple for me, but for some reason I can't remember it today.

What is the if conditional so that a function can only be used by two specific users.

I forgot what the call is for it. :)

Thanks for your help!

Opserty
07-12-2008, 08:05 PM
in_array($bbuserinfo['userid'], array(X, Y))