My if statement keeps looking over one of my variables and looks at the or statements and returns true. I hate describing coding before showing it...
if($relLoc[1] <= "32" AND $map['locationpadding'] == "0px 0px -32px 0px" OR $map['locationpadding'] == "0px 0px -32px -32px" OR $map['locationpadding'] == "0px -32px -32px 0px")
{
die();
}
So if I am at $map['locationpadding'] == "0px 0px -32px -32px" and the
$relLoc[1] == "380" the die(); still executes.
But if I am at 0px 0px -32px 0px It wont execute till I am at the 32 location.