Created
September 12, 2016 08:27
-
-
Save Ludovicmoreau/f04da910468e3e865e29a2bfc5b056c9 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> | |
<head> | |
<title>tableau des spectacles</title> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<div class="row"> | |
<h2>Voici les horaires des différents spectacles</h2> | |
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 | |
$spectacle[0][1]='heure'; | |
$spectacle[0][2]='titre spectacle'; | |
$spectacle[0][3]='Artiste'; | |
$spectacle[0][4]='PICTURE'; | |
$spectacle[1][1]='18h'; | |
$spectacle[1][2]='Le lac des cygnes'; | |
$spectacle[1][3]='Le cygne'; | |
$spectacle[1][4]='<img width=90px src="https://upload.wikimedia.org/wikipedia/fr/7/71/Quebec_citadelles_200x200.png">'; | |
$spectacle[2][1]='15h'; | |
$spectacle[2][2]='Asterix le gaulois'; | |
$spectacle[2][3]='Asterix'; | |
$spectacle[2][4]='<img width=90px src="https://upload.wikimedia.org/wikipedia/fr/7/71/Quebec_citadelles_200x200.png">'; | |
$spectacle[3][1]='19h'; | |
$spectacle[3][2]='Popeye'; | |
$spectacle[3][3]='Popeye'; | |
$spectacle[3][4]='<img width=90px src="https://upload.wikimedia.org/wikipedia/fr/7/71/Quebec_citadelles_200x200.png">'; | |
?> |
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 | |
include ("header.php") | |
?> | |
<?php | |
include ("index2.php"); | |
?> | |
<table border ="1"> | |
<?php | |
for ($i = 0; $i <= 3; $i++) | |
{ | |
?> | |
<tr> | |
<?php | |
for ($j = 1; $j <= 4; $j++) | |
{ | |
?> | |
<td> <?php echo $spectacle[$i][$j]; ?> </td > | |
<?php | |
} | |
?> | |
</tr> | |
<?php | |
} | |
?> | |
<?php | |
include ("footer.php") | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment