neo_philiac
08-25-2009, 08:35 PM
Stupid question:
In php what is the difference between
if(getName() & $level){
return 1;
}
if(getName() && $level){ // Notice the && here
return 1;
}
Why does it return different answer?
Thanks
In php what is the difference between
if(getName() & $level){
return 1;
}
if(getName() && $level){ // Notice the && here
return 1;
}
Why does it return different answer?
Thanks