Created
October 7, 2021 21:25
-
-
Save guillaumebdx/7eccfb3abad947d5a4da1103ca9d8ef9 to your computer and use it in GitHub Desktop.
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Document</title> | |
</head> | |
<body> | |
Merci <?php echo $_POST['firstname'];?>, voici tes hobbies : | |
<ul> | |
<?php | |
foreach($_POST['hobbies'] as $hobby){ | |
echo '<li>' . $hobby . '</li>'; | |
} | |
?> | |
</ul> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment