I am getting wrong output from this if else syntax, what could be wrong here? The output should be wrong answer, but i am getting the right answer output.
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<?php
$math = 22+22+22;
if($math = 22222222) {
echo "Right answer";
}
else
{
echo "Wrong answer";
}
?>
</body>
</html>