Jump to content
MakeWebGames

probably stupid question


mixmaster

Recommended Posts

Well I wish what you were doing was possible.

But $IP == $IP1 || $IP2

needs to be

$IP == $IP1 || $IP == $IP2

That will fix that part.

But it still won't condition right. You will need to place parenthesis around it to tell it what to do first since by default || is higher in authority.

Anyway the statement should look like this:

if($ir['user_level'] > 1 && ($IP == $IP1 || $IP == $IP2))
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...