Last active
October 9, 2018 10:01
-
-
Save Karnak19/e8ea7255048c030d9b8a7031e2b17270 to your computer and use it in GitHub Desktop.
Indiana Jones quest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$title = "Indiana Jones and the Last Crusade"; | |
$date = 1989; | |
$seen = FALSE; | |
$desc = "In 1938, after his father Professor Henry Jones, Sr. goes missing while pursuing the Holy Grail, Indiana Jones finds himself up against Adolf Hitler's Nazis again to stop them obtaining its powers. "; | |
if($seen == TRUE) { | |
echo $title." est le titre anglais."; | |
echo "<br> Le film est sorti en ".$date."."; | |
echo "<br>".$desc; | |
} | |
else { | |
echo "Je n'ai pas vu le film mais il est sorti en "; | |
echo substr($date, 2); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment