My rss feed wont validate, throwing this error but I dont understand it...please help?

error on line 10 at column 75: EntityRef: expecting ';'

<?php
require_once('../includes/functions.php');

if (file_exists(SITE_ROOT.'/themes/'.THEME.'/feed-rss.php')){//feed-rss from the theme!
	require_once(SITE_ROOT.'/themes/'.THEME.'/feed-rss.php'); 
}
else{//not found in theme

header("Content-type: text/xml");
?>
<rss version="2.0"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>RSS - <?php echo $html_title;?></title>
<link><?php echo SITE_URL;?>/</link>
<description>RSS - <?php echo $html_description." ".$currentCategory." ".getTypeName($type);?></description>
<pubDate><?php echo date(DATE_RFC822);?></pubDate>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="<?php echo SITE_URL;?>/rss/" type="application/rss+xml" />
<?php 
	if ($resultRSS){
	    foreach ( $resultRSS as $row ){
		    $idPost=$row['idPost'];
		    $postType=$row['type'];
		    $postTypeName=getTypeName($postType);
		    $postTitle=html_entity_decode($row['title'],ENT_COMPAT,CHARSET);
		    $postPrice=$row['price'];
		    $postPlace=$row['place'];
		    if (LOCATION) $postLocation = getLocationName($row['idLocation']);
		    else $postLocation='';
		    $postDesc= str_replace ("&nbsp;"," ",strip_tags(html_entity_decode($row['description'],ENT_COMPAT,CHARSET)));
		    $category=$row['category'];//real category name
		    $fcategory=$row['friendlyName'];//frienfly name category
		    $idCategoryParent=$row['idCategoryParent'];
		    $fCategoryParent=$row['parent'];
		    $insertDate=date(DATE_RFC822,strtotime($row['insertDate']));
		    		    
		    if ($row["hasImages"]==1){
				$postImage=getPostImages($idPost,setdate($row['insertDate']),true,true);
			}
			else $postImage="";//there's no image
			
		    $categoryUrl=$fcategory;
			
		    $postUrl=itemURL($idPost,$fcategory,$postTypeName,$postTitle,$fCategoryParent);
		
		    ?>
		    <item>
			    <title><![CDATA[<?php echo ucwords($postTypeName)." - ".$postTitle;?><?php  if ($postLocation!='' && LOCATION) echo ' - '.$postLocation;?>]]></title>
			    <link><?php echo SITE_URL.$postUrl;?></link>
			    <guid><?php echo SITE_URL.$postUrl;?></guid>
			    <description><![CDATA[
			    <?php if ($postImage!="" && RSS_IMAGES) echo "<img src=\"".$postImage."\" width=\"100\" height=\"75\" />";?>
			    <?php echo $postDesc;?>]]>
			    </description>
			    <pubDate><?php echo $insertDate;?></pubDate>
			    <address><?php echo $postPlace;?></address>
		    </item>
		    <?php 
	    }
	}
$ocdb->closeDB();
?>
 </channel>
</rss>

<?php

}//if else

?>

Seems like you forgot to close your end tag on line 7, for starters.

Edit: Nvm, I see it :).

You could check if there are any unescaped ampersands somewhere in your XML.

this is the feed

<rss version="2.0"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>RSS -  | Camos Reptiles Classifieds</title>
<link>http://camosreptiles.com.au/classifieds/</link>
<description>RSS - free reptile classifieds  need</description>
<pubDate>Mon, 03 Oct 11 19:52:12 +1100</pubDate>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://camosreptiles.com.au/classifieds/rss/" type="application/rss+xml" />
            <item>
                <title><![CDATA[Offer - Jacky Dragons $50 each - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=30&type=offer&category=dragons&title=jacky-dragons-50-each</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=30&type=offer&category=dragons&title=jacky-dragons-50-each</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/2011/10/03/30/thumb_jacky-dragons-50-each_1.jpg" width="100" height="75" />                call camo 0414645180]]>
                </description>
                <pubDate>Mon, 03 Oct 11 00:47:47 +1100</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - You never Know What you'll find! - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=29&type=offer&category=open-market&title=you-never-know-what-youll-find</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=29&type=offer&category=open-market&title=you-never-know-what-youll-find</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/2011/10/03/29/thumb_you-never-know-what-youll-find_1.jpg" width="100" height="75" />               You never Know What you'll find at Camo's Classifieds!  Sorry for the downtime, we were working on the servers!  See YOU Soon!  ]]>
                </description>
                <pubDate>Mon, 03 Oct 11 00:43:13 +1100</pubDate>
                <address>Camos Classifieds</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Plains rat $35 - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=28&type=offer&category=open-market&title=plains-rat-35</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=28&type=offer&category=open-market&title=plains-rat-35</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/2011/10/02/28/thumb_plains-rat-35_1.jpg" width="100" height="75" />                Plains rat similar to Spinifex hopping mice grow a bit larger easy to look after the birdseed and Greens pick up only pendle hill ring Andrew ph 0414 645 180]]>
                </description>
                <pubDate>Sun, 02 Oct 11 12:09:21 +1100</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Jackie Dragons $50 - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=27&type=offer&category=dragons&title=jackie-dragons-50</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=27&type=offer&category=dragons&title=jackie-dragons-50</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/2011/09/28/27/thumb_jackie-dragons-50_1.jpg" width="100" height="75" />                Jackie Dragons small lizard larger than a mountain Dragon. Can handle colder temperatures. Insect eater only. Pickup only pendle hill ring Andrew no 414645180]]>
                </description>
                <pubDate>Wed, 28 Sep 11 18:19:53 +1000</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Mountain Dragon's $50 - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=26&type=offer&category=dragons&title=mountain-dragons-50</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=26&type=offer&category=dragons&title=mountain-dragons-50</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/no_pic.png" width="100" height="75" />             Mountain Dragon's great to watch eating excellent hunters eat live food only can handle cold temperatures pickup only pendle hill ring Andrew on 0414 645 180]]>
                </description>
                <pubDate>Wed, 28 Sep 11 18:15:43 +1000</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Large male Ridge tale monitor $300 - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=25&type=offer&category=monitors&title=large-male-ridge-tale-monitor-300</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=25&type=offer&category=monitors&title=large-male-ridge-tale-monitor-300</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/no_pic.png" width="100" height="75" />             Ridge tale monitor the smaller one in picture only left pickup only pendle hill ring Andrew on 0414 645 180]]>
                </description>
                <pubDate>Wed, 28 Sep 11 18:11:58 +1000</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - frogs $40 - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=22&type=offer&category=amphibians&title=frogs-40</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=22&type=offer&category=amphibians&title=frogs-40</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/2011/09/27/22/thumb_frogs-40_1.jpg" width="100" height="75" />             Green tree frogs are great to watch and easy to look after pick up only
Ring andrew on 0414645180]]>
                </description>
                <pubDate>Tue, 27 Sep 11 18:40:22 +1000</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Central bearded dragon's $50 - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=21&type=offer&category=dragons&title=central-bearded-dragons-50</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=21&type=offer&category=dragons&title=central-bearded-dragons-50</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/no_pic.png" width="100" height="75" />             Central bearded dragon's babies $50 each high yellow parents make great pets pick up only pendle hill]]>
                </description>
                <pubDate>Thu, 22 Sep 11 20:22:07 +1000</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Enclosures from $50 - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=20&type=offer&category=enclosures&title=enclosures-from-50</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=20&type=offer&category=enclosures&title=enclosures-from-50</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/2011/09/22/20/thumb_enclosures-from-50_1.jpg" width="100" height="75" />               Enclosures from $50 for small glass one up to $500 for wood enclosure with two thermostats three lights and much more included. Wood enclosures are designed to save around 70% electricity compared to glass enclosure will save you hundreds of dollars in the long run. And save you heaps of money on lighting. Your bulbs will last heaps longer. Also stackable so you can make embankments To find out more about these enclosures please ring Andrew on 0414 645 180. Sizes vary depending on supply made in Australia pick up only also sell all accessories top-quality products at half the price to most places]]>
                </description>
                <pubDate>Thu, 22 Sep 11 19:43:24 +1000</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Spiders $50 - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=19&type=offer&category=invertebrates&title=spiders-50</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=19&type=offer&category=invertebrates&title=spiders-50</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/2011/09/22/19/thumb_spiders-50_1.jpg" width="100" height="75" />               Australian bird eating spiders medium size $50 final words $30 also have enclosures at very good prices to find out more please ring Andrew 0414 645 180]]>
                </description>
                <pubDate>Thu, 22 Sep 11 19:30:53 +1000</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Scorpion's large$50 - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=18&type=offer&category=invertebrates&title=scorpions-large50</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=18&type=offer&category=invertebrates&title=scorpions-large50</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/no_pic.png" width="100" height="75" />             Scorpion great to watch easy to look after eat crickets or any insect pickup only pendle hill also have enclosures for them at great prices]]>
                </description>
                <pubDate>Thu, 22 Sep 11 19:27:14 +1000</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Central carpet pythons $600 the lot - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=17&type=offer&category=pythons&title=central-carpet-pythons-600-the-lot</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=17&type=offer&category=pythons&title=central-carpet-pythons-600-the-lot</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/no_pic.png" width="100" height="75" />             Pythons one male to females around two years old friendly eat well pick up only pendle hill Andrew 0414 645 180]]>
                </description>
                <pubDate>Thu, 22 Sep 11 19:20:48 +1000</pubDate>
                <address>Pendle hill</address>
            </item>
                        <item>
                <title><![CDATA[Offer - All Your Reptile Product Needs At Super Cheap Prices! - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=16&type=offer&category=reptile-products&title=all-your-reptile-product-needs-at-super-cheap-prices</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=16&type=offer&category=reptile-products&title=all-your-reptile-product-needs-at-super-cheap-prices</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/2011/09/17/16/thumb_all-your-reptile-product-needs-at-super-cheap-prices_1.gif" width="100" height="75" />             Camos Reptiles Own Online Shop Offers You A choice range of everyday Reptile Keeping Needs, at fair dinkum prices!Please check out our Shop javascript:nicTemp(); (front Page)]]>
                </description>
                <pubDate>Sat, 17 Sep 11 14:20:59 +1000</pubDate>
                <address>Herpful Things Online Shop</address>
            </item>
                        <item>
                <title><![CDATA[Offer - 60 watt moonlight bulbs - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=15&type=offer&category=reptile-products&title=60-watt-moonlight-bulbs</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=15&type=offer&category=reptile-products&title=60-watt-moonlight-bulbs</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/2011/09/17/15/thumb_60-watt-moonlight-bulbs_1.jpg" width="100" height="75" />              60 watt moonlight bulbs $7.50 each @ Herpful ThingsCamos Reptiles Online ShopDirect buy link click belowjavascript:nicTemp();]]>
                </description>
                <pubDate>Sat, 17 Sep 11 14:09:43 +1000</pubDate>
                <address>Herpful Things Online Shop</address>
            </item>
                        <item>
                <title><![CDATA[Offer - Reptile food from 80c - New South wales]]></title>
                <link>http://camosreptiles.com.au/classifieds/item.php?item=11&type=offer&category=reptile-foods-frozen-live&title=reptile-food-from-80c</link>
                <guid>http://camosreptiles.com.au/classifieds/item.php?item=11&type=offer&category=reptile-foods-frozen-live&title=reptile-food-from-80c</guid>
                <description><![CDATA[
                <img src="http://camosreptiles.com.au/classifieds/images/no_pic.png" width="100" height="75" />             Pinky's 80c
fuzzy $1
large mice $1.50
ducks make great food for snakes and lizards $1 each
crickets $15 per tub around 250/300 in each tub
pickup only pendle hill please ring Andrew 0414 645 180]]>
                </description>
                <pubDate>Wed, 14 Sep 11 20:02:59 +1000</pubDate>
                <address></address>
            </item>
             </channel>
</rss>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.