ByMsT adlı üyeden alıntı: mesajı görüntüle
Sorguyu verirmisin
sorguda çıkan hata

SQL sorgunuzda bir hata olduğu görünüyor. MySQL sunucusu hata çıktısı aşağıdadır, eğer varsa, sorunu teşhis etmenizde ayrıca size yardımcı olabilir

ERROR: Bilinmeyen Noktalama İşareti Dizgisi @ 1
STR: <?
SQL: <? echo '<?xml version="1.0" encoding="utf-8"?>';

SQL sorgusu:

<? echo '<?xml version="1.0" encoding="utf-8"?>';

MySQL çıktısı: 

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<? echo '<?xml version="1.0" encoding="utf-8"?>'' at line 1
<? echo '<?xml version="1.0" encoding="utf-8"?>'; ?> 
<? echo '<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>'; 
$date1 = date("d M Y");
$date2 = date("d.m.20y");
$datbi = date("H:i:s");
$ditbi = date("D");
include("ayar.php"); 
$sitetitle=str_replace("http://","",$siteadresi);
$sitetitle=str_replace(".com","",$sitetitle);
$sitetitle=str_replace(".net","",$sitetitle);
$sitetitle=str_replace(".org","",$sitetitle);
?> 
<channel> 
<title><?=$sitetitle;?></title>
<link><?=$siteadresi;?></link>
<description><?=$sitetitle;?></description>
 <lastBuildDate><?=$ditbi;?>, <?=$date1;?> <?=$datbi;?></lastBuildDate>
        <language>tr</language> 
<?
$sayfa=htmlspecialchars($_GET[sayfa]);
$sayfa=($sayfa-1)*5000;
$******=mysql_query("SELECT * FROM muzik order by id desc limit $sayfa,5000");
while($veri=mysql_fetch_array($islem)){
$veri[aciklama]=str_replace("&","&amp;",$veri[aciklama]);
$veri[baslik]=str_replace("&","&amp;",$veri[baslik]);
$veri[resim]=str_replace("&","&amp;",$veri[resim]);
$timestamp=$veri[tarih];

$day = substr($timestamp, 0, 2);
$month = substr($timestamp, 3, 2);
$year = substr($timestamp, 6, 4);
$hour = substr($timestamp, 11, 2);
$min = substr($timestamp, 14, 2);
$sec="00";
$pubdate = date('D, d M Y H:i:s +300', mktime($hour, $min, $sec, $month, $day, $year));
?>         
<item>
<title><?=$veri[sanatci];?> - <?=$veri[baslik];?></title>
<image><?=$siteadresi;?>/resim_<?=$veri[yid];?>.jpg</image>
<link><?=$siteadresi;?>/<?=seo("$veri[sanatciseo]","$veri[baslikseo]");?></link>
<description><![CDATA[<?=strip_tags($veri[aciklama]);?> <a href=<?=$siteadresi;?>/<?=seo("$veri[sanatciseo]","$veri[baslikseo]");?>>Devamı için Tıklayın..</a>]]></description>  
</item> 
<? 
    } 
    //@sqlclose(); 
?>         
</channel> 
</rss>