1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
<div id="tagsphere">
<ul>
<?php
$reponse = mysql_query("SELECT *
FROM articles where lien LIKE '%aromatherapie%'or (lien LIKE '%index%') or (lien LIKE '%soins_divers%') or (lien LIKE '%art_de_la_tisane%')");
while ($donnees = mysql_fetch_array($reponse) ) {
$someWords = $donnees['tag'];
$wordChunks = explode(",", $someWords);
for($i = 0; $i < count($wordChunks); $i++){
?><li><a href="<?php echo $donnees['lien'];?>"><?php echo $wordChunks[$i] ;?></a></li>
<?php } ?>
<?php } ?>
</ul>
</div> |