<html> <head> <title>An if Statement</title> </head> <body> <?php $mood = "happy"; if ( $mood == "happy" ){ print "I'm in a good mood"; } ?> </body> </html>