Welcome Guest, Not a member yet? Register   Sign In
x ||(or) y in php
#2

[eluser]gRoberts[/eluser]
This is because should one be true, the other may be false, causing the if statement to return true and redirect to `login`.

I think what your looking at doing is redirecting if both don't exist, meaning you want to change from pipe (||) to ampersand (&&).


Messages In This Thread
x ||(or) y in php - by El Forum - 05-23-2012, 07:04 AM
x ||(or) y in php - by El Forum - 05-23-2012, 07:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB