Hi, i have this if statment on my login script:
if ($tuser == $admin || $tpass == $pass) {
setcookie("loggedin", "1"); }
but it only checks that $tuser == $admin (yes it's a var)
I think || means and, correct me if im wrong, PLEASE!!
What is going wrong? Why is only checking the first bit??
TIA
RT