Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $html = <<<HTML
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Table de multiplication</title>
- </head>
- <body>
- HTML;
- $joursem = array("Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi") ;
- $html .= "Vous avez cours le " ;
- foreach($_GET['jour'] as $jour)
- {
- $mesjours[$jour] .= $joursem[$jour] ;
- }
- $sep = implode(",", $mesjours) . "." ;
- $html .= $sep ;
- $html.=<<<HTML
- </body>
- </html>
- HTML;
- echo $html ;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement