$apples = "apples"; $oranges = "oranges"; if($apples == $oranges){ print "$apples and $oranges are the same"; }else { print "$apples and $oranges are not the same"; }
In reply to Re: Disadvantage of using 'eq' operator to compare numbers.
by biohisham
in thread Disadvantage of using 'eq' operator to compare numbers.
by paragkalra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |