Skip to content

Instantly share code, notes, and snippets.

@Jules59
Created March 5, 2018 20:58
Show Gist options
  • Save Jules59/76b06b4ce79aa8250836b13f6bc63d35 to your computer and use it in GitHub Desktop.
Save Jules59/76b06b4ce79aa8250836b13f6bc63d35 to your computer and use it in GitHub Desktop.
Premier challenge PHP
<!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