Problem with rights

This gives me an error :
Parse error: syntax error, unexpected T_BOOLEAN_OR

The meaning of this should be :

  • There is a customer pack, which gets standard maximum 120 seconds.
  • Admin pack must have unlimited
  • Part pack must have 1.5k seconds same for orgasm.

If anyone could help with this


else if (((10 > $time) || ($time > 1500)) && ($staff != "part") && ($staff != "admin")) || ($staff != "orgasm"))
					{
						echo 'Time needs to be between 10 and 1500 seconds.';
					}

You don’t need all the the opening and closing parenthesis B[/B] for all your statements, the below should work fine.

else if ((10 > $time || $time > 1500) && ($staff != "part" || $staff != "admin" || $staff != "orgasm"))
{
    echo 'Time needs to be between 10 and 1500 seconds.';
}