"); $requet=" SELECT `table3`.`Num1` as `X`, sum(`table2`.`Champ3` * `table3`.`Champ4`) as `Y` FROM `table1`, `table3`, `table2` Where `table1`.`Num1`= `table3`.`Num1` AND `table2`.`Num2`=`table3`.`Num2` and `table1`.`Date1` >= '2018-01-10' and `table1`.`Date1` <= '2018-01-13' group by `table3`.`Num1`"; $result=mysql_query($requet) or die("erreur de requete de base de données.
"); ?>

"; $ligne= mysql_fetch_row($result); } ?>
X Y
$num $mont