<!DOCTYPE html> <html lang="en"> <head> <title>PHP if-elseif-else Statement</title> </head> <body> <?php $d = date("D"); if($d == "Fri"){ echo "Good to here you learnt!"; } elseif($d == "Sun"){ echo "welcome to aimtocode!"; } else{ echo "Have a nice day!"; } ?> </body> </html>