Hello,
I am trying to make users the first time they log on change their defualt password so I have this at the top of my header page.
if ($request !== "/accounts/accounts.html" || $request !== "/accounts/accounts.html?" && $password == "defualt")
{
$new_url = "/accounts/accounts.html";
header("Location: $new_url");
}
from my understanding !== is not equal
and || is the same as or
and && means and
But this returns a parser error.
Any ideas on what is wrong and how to fix?
Chris