gideon prewett Posted July 7, 2009 Posted July 7, 2009 i want to set up a page that only id 1 can look at and if anybody else trs it puts them in to fed what would the if statement look like or how could i do it? Quote
shrek1609 Posted July 7, 2009 Posted July 7, 2009 Re: auto fed if ($ir['userid'] >1) { $db->query("update users set fedjail = 1, fed_reason='trying to snoop' where userid={$ir['userid']}"); } Quote
shrek1609 Posted July 7, 2009 Posted July 7, 2009 Re: auto fed oops remember to add the amount of days too if ($ir['userid'] >1) { $db->query("update users set fedjail = 1, fed_days=100, fed_reason='trying to snoop' where userid={$ir['userid']}"); } Quote
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.