View Single Post
Old 11-04-2010, 02:17 AM   #1 (permalink)
jwilson122
The Wanderer
 
Join Date: Nov 2010
Posts: 5
Thanks: 0
jwilson122 is on a distinguished road
Default is this the same?

Hey guys, okay so.. I was wondering does:
PHP Code:
== 
and

PHP Code:
=> 
OR
PHP Code:

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..
jwilson122 is offline  
Reply With Quote