1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
<?php
$requete = "SELECT prestations ,nb, somprest,remprest FROM tempprest " ;
$result = mysql_query ( $requete ) ;
?>
<table class="texte" width="100%" border="0" bordercolor="#000066" cellspacing="0" align="center">
<tr>
<th align="left" bgcolor="#DBE8E8">Prestations</th>
<th align="center" bgcolor="#DBE8E8">Quantité</th>
<th align="right" bgcolor="#DBE8E8">Total Prest.()</th>
<th align="center" bgcolor="#DBE8E8">Remise</th>
</tr>
<?php
$i = 0;
while($row = mysql_fetch_array($result))
{
?>
<tr>
<th align="left"><? echo stripslashes($row['prestations'])?> </th>
<th align="center"><? echo stripslashes($row['nb']) ?> </th>
<th align="right"><? echo stripslashes($row['somprest']) ?></th>
<th><input name="remiseprest_<?php echo $i; ?>" type="Text"
id="remiseprest_<?php echo $i; ?>" onchange="majprest(this)" size="5"
style="COLOR : #0000FF; FONT-FAMILY: Verdana; FONT-SIZE: 10pt"></th>
</tr>
<?php
$i++;
}
?>
</table> |
Partager