...

does this??

jwilson122
11-04-2010, 03:14 AM
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:

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..

The reaper
11-04-2010, 03:22 AM
Well

==

Is equal to

=>

Is greater than or equal to

>

Is just greater than



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum