Colin Posted January 13, 2014 Report Share Posted January 13, 2014 Hi guys, It's been a while since i've actively posted on here and I hope your all well and had a great start to the new year my question is simply: Would someone kindly be able to throw me the code to show the pilot active or inactive in the pilot centre please ? I've found a few codes on the forum and not had a great deal of success, one code randomly set all pilots to inactive, how I don't know still haven't figured that one out, If anyone can hook me up i'd really appreciate it, Happy New Year ! Quote Link to comment Share on other sites More sharing options...
Strider Posted January 13, 2014 Report Share Posted January 13, 2014 <?php if($userinfo->retired == "1") { echo "Inactive."; } else { echo "Active."; } ?> The above code should work. Quote Link to comment Share on other sites More sharing options...
Colin Posted January 14, 2014 Author Report Share Posted January 14, 2014 Excellent many thanks Quote Link to comment 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.