This is my News Syndication RSS Feed function in my backend.php file, it DOESNT WORK, but it did just before I added a new table to the news article table. I wouldn't think adding a new coulmn would effect the feed not working, whats wrong?
<?php
if($location[2] === "backend.php" && $News === "Syndicate"){
header("Content-Type: text/xml");
echo "<?xml version=\"1.0\"?>
<rss version=\"0.91\">
<channel>";
$result = $MySQL->Query("SELECT * FROM ".$pre."News_Articles ORDER BY Article_Time DESC LIMIT 5");
while($Get = mysql_fetch_array($result)) {
$Get['Article_Title'] = htmlentities($Get['Article_Title']);
$Get['Article_Story'] = htmlentities($Get['Article_Story']);
$Get['Article_Full_Story'] = htmlentities($Get['Article_Full_Story']);
echo "
<item>
<title>" . $Get['Article_Title'] . "</title>
<author>" .$Get['Article_Author'] . "</author>
<date>" . $Get['Article_Date'] . "</date>
<story>" . $Get['Article_Story'] . "<br><br>". $Get['Article_Full_Story'] ."</story>
</item>";
}
echo "
</channel>
</rss>";
die();
}
?>