Hi, I would like to say this:- if variable 1 is either 2 less, 1 less, the same, 1 more or 2 more than variable 2 do an action. can anybody help me on how i would code that!
Good that it is solved. But it would be good if you post the answer, then the next person that search a solution to this could find the code needed.
Sorry, I don't have a confirmed answer yet, but the question is being answered on another PHP HELP site.
I'd stick to one as things can get confusing. 😕