Dear
chrishirst,
PHP Code:
<?xml version = "1.0"?>
Can you plz tell me whats wrong with above coding Im getting,
Code:
Parse error: syntax error, unexpected T_STRING in /home/worldzyo/public_html/rss.php on line 1
Even I tried all ;,('s all blah blah's

As well as I have writen rss.php codings
HTML Code:
<rss version="2.0">
<channel>
<title>worldzyourz.info</title>
<link>http://www.worldzyourz.info</link>
<description>Movies-All Movies to rock u around...Enjoy</description>
<language>en-us</language>
<copyright>2008 worldzyourz.info</copyright>
<managingEditor>iggywiggy@worldzyourz.info (Iggy)</managingEditor>
<webMaster>iggywiggy@worldzyourz.info (Iggy)</webMaster>
<pubDate>Sun, 26 Oct 2008 21:06:45 EDT</pubDate>
<lastBuildDate>Sun, 26 Oct 2008 21:06:45 EDT</lastBuildDate>
<category>Movies Special</category>
<generator>worldzyourz RSS Generator</generator>
<docs>http://www.rssboard.org/rss-specification</docs>
<ttl>60</ttl>
<image>
<url>http://www.worldzyourz.info/images/rss_icon.png</url>
<title>worldzyourz.info</title>
<link>http://worldzyourz.info</link>
<height>10</height>
<width>10</width>
<description>Movies-All Movies to rock u around...Enjoy</description>
</image>
[php]
<?php
//Connect to the database here
require_once('includes/config.php');
require_once('includes/opendb.php');
//Create the SELECT statement and execute it
$query = "SELECT *, DATE_FORMAT(article_date, '%a, %d %b %Y %T PST') AS article_pubdate FROM articles ORDER BY article_date LIMIT 5";
$result = mysql_query($query);
//Iterate over the rows to create each item
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)){
echo '<item>
<title>'.$row['article_title'].'</title>
<link>'.$row['article_url'].'</link>
<description>'.$row['article_text'].'</description>
<author>'.$row['article_author'].'</author>
<category>'.$row['article_category'].'</category>
<pubDate>'.$row['article_pubdate'].'</pubDate>
<source url="