Merhaba,

veritabanından son 250 etiketi çekmek istiyorum.


bi sürü deneme yaptım olmadı , nasıl çekebilirim ,


tablo news stun tags

1 haberin tags stununda virgülle ayrılmış birden fazla etiket mevcut.


<?php
   $result= DB_query("select * from news ORDER BY tags DESC LIMIT 250");
while($row = DB_fetch_array($result)) {

?>


	   <div style=" width:590px; border:#E8EAF1 1px solid; height:400px; padding:4px;">
	<div style="color:#CC0000; font-size:11px; font-family:verdana">
	<strong>ETİKETLER :</strong> <?php
	$bolx = explode(",",$row['tags']);
for ($ix=0;$ix<=count($bolx)-1;$ix++) {
$tag=$bolx[$ix]; ?>
<a title="<?=$tag ?> haberleri" href="haberara?s=<?=searchtemizle(trim($tag)) ?>"><i><?=$tag ?></i></a>
	<?php } ?>
	
	</div>
	
	</div>