Temizlenmiş hâli:
<?php
include(dirname(__FILE__) . '/setting/setting_general.php');
$tag= mysql_query("
SELECT *
FROM tbl_firmalar
WHERE yayinid = 1
ORDER BY id DESC
LIMIT 0, 20");
$tag2 = $tag_get['firma_adi'];
while($tag_get = mysql_fetch_assoc($tag))
{
echo '<span class="diger" title="', $tag_get['firma_adi'], '">', $tag_get'firma_adi'], '</span>';
echo $tag;
}
mysql_free_result($tag);
mysql_close();
?>