Created
March 5, 2018 20:58
-
-
Save Jules59/76b06b4ce79aa8250836b13f6bc63d35 to your computer and use it in GitHub Desktop.
Premier challenge PHP
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
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<?php | |
$namemovie = 'Indiana Jones and the Last Crusade'; | |
echo "The name of this famous movie is $namemovie"; | |
echo "<br>"; | |
$dateofthemovie = 1989; | |
echo "The movie was in our cimemas in october $dateofthemovie"; | |
echo "<br>"; | |
$imbdgrade = 8.3; | |
echo "For me the grade MUST 10 but on IMBD the grade is $imbdgrade"; | |
echo "<br>"; | |
$seen = TRUE; | |
if ($seen=TRUE) | |
{ | |
echo "Yes I have seen the movie!"; | |
} | |
elseif ($notseen == FALSE) | |
{ | |
echo "No I haven't seen the movie?"; | |
} | |
?> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment