Forum Moderators: coopster
anybody can help me? please give an example or full code
Be sure to read Marcia`s WebmasterWorld Welcome and Guide to the Basics [webmasterworld.com] post.
There is no fundamental difference between using php to write HTML or XML. In fact when you are being XHTML compliant you are using PHP to write XML documents.
<?php
echo <<<END
<?xml version="1.0" encoding="UTF-8"?>
<root>
<element>content</element>
</root>
END;
?>
The above script will send a XML document when it gets requested.
So all of the usual tutorials and information about retrieving data from a database still apply to your situation as well. All you need to do is retrieve the data from the db and write it out in a way conforming to the rss format.
Andreas