Dans un tableau issu d'une requête, je souhaite multiplier le champ 'TOTALNOEL' par le champ 'heures' et faire apparaitre la réponse dans la colonne 'pondération'. J'ai déjà essayé certains codes mais rien ne passe soit j'ai un message d'erreur soit j'ai 0 comme réponse.

Mon code est le suivant:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
<body>
<table border="1">
  <tr>
    <td>nom</td>
    <td>classe</td>
    <td>TOTALNOEL</td>
    <td>matiere</td>
    <td>heures</td>
	<td>ponderation</td>
  </tr>
  <?php do { ?>
  <tr>
    <td><?php echo $row_Points1['nom']; ?></td>
    <td><?php echo $row_Points1['classe']; ?></td>
    <td><?php echo $row_Points1['TOTALNOEL']; ?></td>
    <td><?php echo $row_Points1['matiere']; ?></td>
    <td><?php echo $row_Points1['heures']; ?></td>
	<td><?php §c=§TOTALNOEL*§heures; echo §c?></td>
  </tr>
  <?php } while ($row_Points1 = mysql_fetch_assoc($Points1)); ?>
</table>
</body>
Comment pourrai-je créer facilement une nouvelle table sur la base de ce tableau?

Merci pour vore aide si précieuse!
A bientôt