Stupid question:
In php what is the difference between
Code:if(getName() & $level){ return 1; }Why does it return different answer?Code:if(getName() && $level){ // Notice the && here return 1; }
Thanks
Stupid question:
In php what is the difference between
Code:if(getName() & $level){ return 1; }Why does it return different answer?Code:if(getName() && $level){ // Notice the && here return 1; }
Thanks
Last edited by Snookerman; 08-26-2009 at 07:12 AM.
NVM Got it! Sorry![]()
Bookmarks