1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| <?php
include("images/connexion.php"); // ouverture de la connexion
mysql_query("SET CHARACTER SET 'utf8'");
$sql = mysql_query("SELECT * FROM articles WHERE AR_Type='BAG' And AR_Code='PAGE1' ORDER BY articles.AR_Ordre;"); // voici la requette permettant d'aller chercher les messages...
?>etc.......
<?php
while($valeurlud = @mysql_fetch_array($sql)){ // début de la boucle qui se terminera à la fin des enregistrements
?>
<tr class="Style1">
<td class="Tab1"><div align="center" class="Style1"><b><?php echo $valeurlud["AR_Texte"]; ?></b></div></td>
<td class="Tab1"><div align="center" class="Style1"><b><?php echo $valeurlud["AR_Reference"]; ?><b></div></td>
</tr>
<tr class="Style1">
<td class="Tab2"><div align="center" class="Style1"><b><?php echo '<a target="Cadre" href="images/'.$valeurlud["AR_ImageG"].'"><img src="images/'.$valeurlud["AR_Image"].'"border="0" />';?></b></div></td>
<td class="Tab2"><div align="center" class="Style1"><b>
<?php
echo htmlentities(($valeurlud["AR_TLong"]), ENT_QUOTES, 'utf-8'); ?>
</b></div></td>
</tr>
<?php |