Ok. I have 2 variables.
I have $login and $login22.
In my script, if EITHER $login or $login22 DOES NOT equal yes, then it will send them a message "You are not logged in."
So I login to my page, and everything works as normal... but here is the catch.
if ($login || $login22 != "yes") {
echo "You are not logged in";
}
So... What I am saying.. is if $login or $login22 doesn't equal yes, then print this.
I have checked it.. and printed out $login and $login22 and saw where both of them are equal or yes... but I am still seeing "You are not logged in"
Am I missing something? Am I writing that wrong?