0
Total answer is shwoing error in php plese solve
<?php $x = 60; $z= 20; $sum = ($x+$z); $y = 80; if($sum > $y) { echo 'Equal'; } else { echo "Not equal"; } ?> plese solve this problem and give me the reason why not equal with exampel
1 Answer
+ 1
If you want to test for equality, use == instead of >.
if($sum == $y)