PHP: if(!$one == $two) doesn't work always?

Dr.NeBoo

New Member
Yes, this is just a question i would like to get an answer on. I experienced it a couple of times, where this:\[code\]if(!$one == $two){ echo "Not the same"; }else{ echo "The same"; }\[/code\]Will not work, and\[code\]if($one == $two){ echo "The same"; }else{ echo "Not the same"; }\[/code\]will work.Why doesn't it work sometimes? I always need to recode like the second, when the first doesn't work.
 
Back
Top