11-04-2010, 02:17 AM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Nov 2010
Posts: 5
Thanks: 0
|
is this the same?
Hey guys, okay so.. I was wondering does:
and
OR all mean the same thing?? I'm making a login script where it checks their status. I would like to code it like:
PHP Code:
if ($results->status=>1)
{
echo 'Your account is not email verified!';
}
else if ($results->status=>2)
{
echo 'Your account is banned!';
}
Any other way should be doing it? I hate coding with like.. if ($results == 1) etc etc..
|
|
|
|