<?php include "ayarlar.php"; header('Content-Type: text/xml'); echo '<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"> <channel> <title>/*/Ayazoglu Other Name Of Security/*/</title> <description>Php ve mysql webtasarımı üzerine özgün makale ve eğitim dökümanları barındırır. </description> <link>http://www.ayazoglu.org/ayazoglu.org/</link> <item> <title></title> <description>></description> <link>http://www.ayazoglu.org/ayazoglu.org/comments.php?entry=entry</link> <pubDate> GMT</pubDate> </item>';
$sorgu = mysql_query("SELECT * FROM posts"); while ($satir = mysql_fetch_assoc($sorgu)) { $text=$satir["text"]; $post_id=$satir["post_id"];
arkadaşlar php de feed yaparken bu hatayla karşılaştım sebeb,i ne olabilir
<?php
include "ayarlar.php";
header('Content-Type: text/xml');
echo '<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>/*/Ayazoglu Other Name Of Security/*/</title>
<description>Php ve mysql webtasarımı üzerine özgün makale ve eğitim dökümanları barındırır. </description>
<link>http://www.ayazoglu.org/ayazoglu.org/</link>
<item>
<title></title>
<description>></description>
<link>http://www.ayazoglu.org/ayazoglu.org/comments.php?entry=entry</link>
<pubDate> GMT</pubDate>
</item>';
$sorgu = mysql_query("SELECT * FROM posts");
while ($satir = mysql_fetch_assoc($sorgu))
{
$text=$satir["text"];
$post_id=$satir["post_id"];
echo "<item>
<title>$text</title>
<description>$post_id</description>
<link>http://www.ayazoglu.org/ayazoglu.org/comments.php?entry=entry</link>
<pubDate> GMT</pubDate>
</item>";
}
echo '</channel>
</rss>';
?>