Affichage des résultats d'une requête
Bonjour,
Voila mon problème: je fais une requête qui me donne 2 résultats un sur une table A et l'autre sur une table B.
Quand je veux afficher mes résultats sur 2 lignes séparément cela ne fonctionne pas ils ne s'affichent que sur la première ligne.
Pouvez vous m'aider.
Voici mon code
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
<?php do {?><tr height="25">
<td></td>
<td align="center"><?php $ID=$row_RsRecherche['IdDVD'];
echo '<a href="../ConsulterDVD.php?TitreID='.base64_encode($ID).'">'.$row_RsRecherche['Titre'].'</a>'; ?></td>
</tr><?php } while ($row_RsRecherche = mysql_fetch_assoc($RsRecherche)); ?>
<tr height="25">
<td colspan="2"></td>
</tr>
<tr height="25">
<td></td>
<td align="center" style="color:#FF0000; text-decoration:underline"><? if ($totalRows_STV!=0) echo "Les Séries TV DVD :";?></td>
</tr>
<?php do {?><tr height="25">
<td></td>
<td align="center"><?php $ID=$row_RsRecherche['Id_STV_DVD'];
echo '<a href="../ConsulterSTV.php?TitreID='.base64_encode($ID).'">'.$row_RsRecherche['TitreSTV'];
if ($totalRows_STV !=0) echo" Saison ".$row_RsRecherche['Saison'].'</a>'; ?></td>
</tr><?php } while ($row_RsRecherche = mysql_fetch_assoc($RsRecherche)) ; ?> |
merci d'avance