1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
   | $note= array ("francais Ecrit" => $francaisE,"francais Oral" => $francais0,"mathématiques" => $maths,"GSI" => $gsi,"Philosophie" => $philo,"Éco/Droit" => $eco_droit,"Mmanagement" => $management,"Eps" => $eps,"Anglais" => $anglais,"Espagnole" => $espagnole,"Histoire/Geo" => $histoire_geo);
 
$coef =array ( 2, 2, 4, 12, 2, 6, 4, 2, 2, 2, 2 );
 
?>
<br />
<table border="1">
 
	<tr>
	<th>Matiéres</th>
	<th>Notes</th>
	<th>Coefficients</th>
	</tr>
<?
foreach ($note as $clef => $ele) && ($coef as $co)
{
	echo "<tr><td>" .$clef. "</td><td>" .$ele. "</td><td> " .$co. "</td></tr>"; 
} | 
Partager