Start PHP Code RESULT
Not happy but sad
End PHP Code RESULT

 

The PHP Code START

<?php
$mood = "sad";
if ($mood == "happy") {
    print "Hooray, I am in a good mood";
} else {
    print "Not happy but $mood";
}
?>
The PHP Code END

Back to Bill's PHP