par
pascalbm » 01 oct. 2008, 16:48
Merci pour ses réponses rapide.
Pour un complément d'info, voici d'abord le code que j'utilise actuellment :
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php
$titre = '';
$i = 0 ;
do
{
?>
<tr onmouseout="this.style.backgroundColor = ''" onmouseover="this.style.backgroundColor = '#0066FF'" bgcolor="<?php echo (((++$AltColors1) % 2) == 0) ? "#77A8ED" : "#1B4792"; ?>">
<td><?php echo $row_tarif_act['type']; ?></td>
<td><?php echo $row_tarif_act['intitule']; ?></td>
<td><?php echo $row_tarif_act['tarif']; ?> €</td>
</tr>
<?php
$i++;
}
while ($row_tarif_act = mysql_fetch_assoc($tarif_act));
?>
</table>
Et ce que je voudrai, 'est mettre le type, qui est identique pour plusieurs enregistrement, en titre avec un regroupement des enregistrement correspondant en dessous.
Désolé, j'espere avoir été un peu plus clair
merci
Merci pour ses réponses rapide.
Pour un complément d'info, voici d'abord le code que j'utilise actuellment :
[php]
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<?php
$titre = '';
$i = 0 ;
do
{
?>
<tr onmouseout="this.style.backgroundColor = ''" onmouseover="this.style.backgroundColor = '#0066FF'" bgcolor="<?php echo (((++$AltColors1) % 2) == 0) ? "#77A8ED" : "#1B4792"; ?>">
<td><?php echo $row_tarif_act['type']; ?></td>
<td><?php echo $row_tarif_act['intitule']; ?></td>
<td><?php echo $row_tarif_act['tarif']; ?> €</td>
</tr>
<?php
$i++;
}
while ($row_tarif_act = mysql_fetch_assoc($tarif_act));
?>
</table>
[/php]
Et ce que je voudrai, 'est mettre le type, qui est identique pour plusieurs enregistrement, en titre avec un regroupement des enregistrement correspondant en dessous.
Désolé, j'espere avoir été un peu plus clair
merci