Im trying to make my rss feed work with php, i've never done this before but i think im getting there...
I am not able to get it to work, I think I am doing everthing correct.... here is the code and url.
http://chile.publicapropiedades.com/rss/rss.xmlCODE
<rss version="2.0">
<channel>
<title>Publica Propiedades - www.publicapropiedades.com</title>
<description>Publica Propiedades Gratis en Chile!</description>
<link>http://chile.publicapropiedades.com/</link>
<copyright>Publica Propiedades © 2007-2008</copyright>
<? require_once("conn.php") ?>
<?
$q1 = "select * from re2_listings, re2_agents where re2_listings.AgentID = re2_agents.AgentID and re2_listings.AgentID!=0 and re2_agents.AccountStatus='active' order by ListingID desc limit 1,20";
$r1 = mysql_query($q1) or die(mysql_error());
while($a1 = mysql_fetch_array($r1))
{
?>
<item>
<title>Test</title>
<description>Test</description>
<link>http://chile.publicapropiedades.com/info.php?id=<?=$a1[ListingID]?></link>
</item>
<? } ?>
</channel>
</rss>
thanks.