Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

any one knows about SUM in sql ???


Recommended Posts

that is not working I CANT GET $total !!!! :unsure:


$query4="SELECT SUM(Montant) AS total FROM t_debiteurs

WHERE Idx='$IdxDebiteur' ";






while ($row4=@mysql_fetch_array($result4)) {




$total[$ii]= $row4['total'];


echo ("






<td><div align='center'>$total</div></td>

<td><div align='center'></div></td>

<td><div align='center'></div></td>





Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...