I'm having similar frustrations with a similar problem.
Simple, but what am I missing here:
if ($usertype != "1" || $usertype !="2")
echo "$usertype";
die('');
}
When $usertype is 1 the above should be passed over, but it isn't.
If I just do ($usertype != "1") it works. So, I must be doing the || incorrectly.
Any suggestions? Thanks in advance.
btw, my php formatting doesn't look like the php formatting above. I tried to make a look prettier, but it kept getting uglier. 🙁